Display Data for External Objects
Display data gives information to Creo Parametric about how the external object appears in the model window. This data must include the color, scale, line type, and transformation of the external object. In addition, display data can include settings that override the user’s ability to zoom and spin the external object.
|
Setting the display data does not result in the external object being displayed. To see the object, you must repaint the model window using the method pfcWindow::Repaint.
|
Methods introduced:
Use the method
wfcExternalObjectDisplayData::Create to create a display data information for an external object. The input arguments are as follows:
• Ents—Specify the entities in the pfcCurveDescriptors object in the specified display data.
• EntityColors—Specify the entities in the pfcStdColors object in the specified display data.
The method
wfcExternalObjectDisplayData::Create returns the display properties of the external object in the
wfcExternalObjectDisplayData object.