To visit all the datum curves, use the functions
ProSolidFeatVisit() and
ProFeatureGeomitemVisit(), described in the section
Visiting Feature Geometry. The datum 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.
Always remember to use the function
ProGeomitemIsInactive() to skip over datum curves used internally only.
To create a
ProCurve object from the integer identifier, use
ProCurveInit().
Use the functions
ProCurvePersistentColorGet() and
ProCurvePersistentColorSet() to obtain and set the color of a specified curve. In order to view the color changes, use the function
ProDisplistInvalidate() on the owner model.
Use the functions
ProCurvePersistentLinestyleGet() and
ProCurvePersistentLinestyleSet(). In order to view the linestyle changes, use the function
ProDisplistInvalidate() on the owner model.