Visiting Datum Curves
 
Functions Introduced:
A datum curve is represented by the object ProCurve, which is declared as an opaque handle.
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 convert a ProCurve object to a ProGeomitem, use the functions ProCurveIdGet() and ProModelitemInit().
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.
도움이 되셨나요?