API 설명서 > External objects > Object ProDispdat > Function ProDispdatEntsWithColorSet
Function ProDispdatEntsWithColorSet
Description
Sets the display data for a list of entities and the color for each entity. 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>
ProDispdatEntsWithColorSet
(
ProWExtobjdata disp_data
/* (In)
The display data.
*/
ProCurvedata** entities
/* (In)
ProArray of pointers to ProCurvedata allocated by the user.
*/
ProColortype* colors
/* (In)
Corresponding ProArray of colors (ProColortype) allocated by the user.
*/
)
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.
User Guide References
도움이 되셨나요?