Category External objects, Object ProDispdat

Function ProDispdatEntsSet


Description
Sets the display data for a list of entities. The entities are specified in the local coordinates of the external object. To transform them to model coordinates, use the disp_data transformation matrix (see the function ProDispdatTrfSet()). NOTE: The only entities for which this is supported are PRO_ENT_LINE and PRO_ENT_ARC. (Polygons may be drawn as multiple lines, and circles as arcs of extent 2 * pi.)
Replacement in Object TOOLKIT: wfcExternalObject::AddData
wfcExternalObject::ModifyData
Synopsis
#include <ProExtobjDisp.h>
ProErrorProDispdatEntsSet(
ProWExtobjdata disp_data
/* (In)
The display data
*/
ProCurvedata* entities
/* (In)
The list of entities
*/
int num_ents
/* (In)
The length of the list of entities
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the display data.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORThe entity was not found, or the function could not set the data.
See Also
ProDispdatTrfSet

Manual References:

  1. Event-driven Programming: External Objects: Display Data for External Objects
  2. Event-driven Programming: External Objects: Display Data for External Objects

Sample Code References:

  1. pt_examples ( TestExtobj.c )
  2. pt_userguide ( UgExtobjCreate.c )