API 설명서 > External objects > Object ProDispdat > Function ProDispdatEntsSet
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:
Synopsis
#include <ProExtobjDisp.h>
ProDispdatEntsSet
(
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
The function successfully set the display data.
One or more of the arguments are invalid.
The entity was not found, or the function could not set the data.
See Also
Sample Code References
User Guide References
도움이 되셨나요?