Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.
Thanks a lot for reply!
I still have some doubt with it,the detailed description is like this:
Current there is an assembly which have several component,we can hide or suppress some of them,but how can we get the property(hide/suppress) of one component by use the ProE Toolkit API?
1. Call ProSolidFeatVisit passing the top level assembly.
2. Filter all features except PRO_FEAT_COMPONENT in the filter function. Use the function ProFeatureTypeGet.
3. In the action function call ProFeatureStatusGet to see if it's hidden or suppressed. You could also do this in the filter function depending on what you are trying to do.
I hope this helps. Also look in the API Wizard under User's Guide->Assemblies->Visiting Assembly Components.
Hi Williams
I have attempt to do it accord what you have just saying,but I still can not reach my goal,use the function I can't get the expected results.
I have spent a lot of time on it,still have any results with it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.