Visiting Composite Datum Curves
Function Introduced:
A composite datum curve is also represented by the object
ProCurve. To distinguish a composite curve from an ordinary curve when dealing with a
ProCurve object, use the function
ProCurveTypeGet(). This function outputs the value
PRO_ENT_CMP_CRV for a composite curve.
To visit all the composite datum curves, use the functions
ProSolidFeatVisit() and
ProFeatureGeomitemVisit(), described in the section
Visiting Feature Geometry.
The composite curves are contained in features of many different types, each of which contains one or more active ProGeomitem objects whose type field is PRO_CURVE.
To visit the datum curves in a composite curve, use the function
ProCurveCompVisit().
Remember that each curve in a composite may be a composite itself, so you may need to make recursive calls. However, you can find all non-composite curves, including those contained in composites, using the method described in the previous section. It is therefore unnecessary to traverse all the composite curves to find all the non-composite curves.