int cvxCmCompDelete
(
int idx_cmcomp      /* I: index of the component */
)
/*
DESCRIPTION:
Delete the component in active CamPlan. 

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmCompGetAttr
(
int idx_cmcomp,         /* I: index of the component */
int cnt,                  /* I: count of attributes user wanna inquire */
evxCmCompAtrr *attr,      /* I: the enumerations user wanna inquire */
svxCmAttrValue **pValue   /* O: the values return; user needs to free the memory */
)
/*
DESCRIPTION:
Inquire the component's attributes. Its value is output via "pValue".

If ZW_CAM_COMP_ATTR_CDCOMP is one value of attr, the data of pValue could be used for APIs of 
"assembly component" in VxApiPart.c(e.g. cvxCompInqPart...).

If ZW_CAM_COMP_ATTR_CLASS is one value of attr, the data of pValue is one of evxCmCompClass.

The data of svxCmAttrValue should be converted according to the type of svxCmAttrValue.

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmCompInqInfo
(
int *compCnt,              /* O: number of components */
vxLongName **compNames,    /* O: name of components */
vxLongName **compPaths     /* O: path of components */
)
/*
DESCRIPTION:
Get the components' information, including name and file path.

Return 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmCompInsert
(
char *file_name,     /* I: name of file for object selection */
char *shape_name,    /* I: name of shape in file for object selection */
int *idx_cmcomp      /* O: the index of the component object */
)
/*
DESCRIPTION:
Insert the component into active CamPlan. Its id is output via "idx_cmcomp".

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmCompSetAttr
(
int idx_cmcomp,         /* I: index of the component */
int cnt,                  /* I: count of attributes user wanna set */
evxCmCompAtrr *attr,      /* I: the enumerations user wanna set */
svxCmAttrValue *value   /* I: the values needed */
)
/*
DESCRIPTION:
Set the component attributes. "attr" should not be "ZW_CAM_COMP_ATTR_FACES".
value->type:   ZW_CAM_ATTR_VALUE_TYPE_INTEGER
value->cnt:    1
value->data:   evxCmCompClass

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmPlanSkNew
(
svxMatrix *Plane,    /* I: sketch insertion plane */
int *idSketch        /* O: id of new sketch */
)
/*
DESCRIPTION:
Adds a new sketch to the active cam plan, aligned with the
specified insertion plane.  The sketch is activated for
editing.
If "idSketch" is not NULL, the id of the new sketch is
output.

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________