Category Feature element trees, Object ProElement

Function ProElementEcadAreaProColorSet


Description
Set the ProColor in the tree element. This should be used for PRO_E_ECAD_AREA_COLOR element.
Synopsis
#include <ProEcadArea.h>
ProErrorProElementEcadAreaProColorSet(
ProElement treeElement
/* (In)
The ecad area element tree
*/
ProColor* proColor
/* (In)
Specify a defined ProColor structure whose data will be copied to the PRO_E_ECAD_AREA_COLOR element data. On redefining the element tree, the data from the ProColor structure will be used for the ECAD area color.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_NOT_VALIDThe element did not contain the right type.
PRO_TK_INVALID_TYPEThe ProColortype is invalid.
PRO_TK_OUT_OF_RANGEThe RGB values are out of range.
PRO_TK_UNSUPPORTEDThe ecad area do not have color setting support.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.

Manual References:

  1. Element Trees: ECAD Area Feature: Feature Element Tree for the ECAD Area