Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.
1. Visit the features of the model filtering out all features except PRO_FEAT_ROUND. Call ProSolidFeatureVisit to do this.
2. Now that you are on the action function of a round, you also have a ProFeature handle to the round. Call ProFeaturegeomitemVisit to visit all geom items of type PRO_EDGE. I would guess there would be many edges in a single round feature. This will visit all of them.
3. Process your edges as you see fit in the action function.
This approach is much easier than traversing the feature definition with ProElement* functions or writing XPath queries into an XML file.
This was exactly the problem I've been facing to: getting edge id from xml by PRO EAPI, I succeeded to save the element tree (without the feature name).
I tried the function ProElementChildrenGet but it's not working.
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.