int cvxCmFolderGetAttr
(
int idx_folder,         /* I: index of the folder */
int cnt,                  /* I: cout of the attributes */
int* attr,               /* I: list of evxCmFolderAttr user wanna get */
svxCmAttrValue* value   /* O: list of values return */
)
/*
DESCRIPTION:
Inquire the attributes of the folder. Its value is output via "value".

value->type    &  value->cnt  &  value->data depend on "attr"
ZW_CAM_ATTR_VALUE_TYPE_STRING    <=32                 CM_FOLDER_NAME
ZW_CAM_ATTR_VALUE_TYPE_INTEGER   number      index    CM_FOLDER_SUB

MEMORY MANAGEMENT:
User needs to allocate memory for "value", and free memory for "value->data".

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

int cvxCmGetClearance
(
double* dClearZ,      /* I: Clearances Form's Clear Z */
double* dAppZ,      /* I: Clearances Form's Approach Z */
double* dRtZ,      /* I: Clearances Form's Retract Z */
double* dAutoClear,   /* I: Clearances Form's Auto Clear */
int* iMiniClr      /* I: Clearances Form's Check the status of Auto Clear */
)
/*
DESCRIPTION:
Get the parameter of the clearances.

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

int cvxCmGetOutputNCSet
(
int idx_nc,                /* I: index of nc */
svxNcSetting *ncSet        /* O: attribute of nc */
)
/*
DESCRIPTION:
Get attributes of the NC item. Its value is output via "ncSet".

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

int cvxCmOutputDelNC
(
int idx_in,                /* I: index of nc or nc folder */
evxCmOutFldType fldType    /* I: type of nc */
)
/*
DESCRIPTION:
Delete a NC item or NC folder.

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

int cvxCmOutputDelOps
(
int idx_nc,       /* I: index of nc */
int cnt,          /* I: count of operations */
int *idx_op       /* I: list of operations */
)
/*
DESCRIPTION:
Delete operations of the NC item.

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

int cvxCmOutputInsNC
(
int idx_fld,                /* I: index of nc folder to insert. -1:root folder of Output */
int *idx_out,               /* O: index of nc or nc folder */
evxCmOutFldType fldType     /* I: insert type */
)
/*
DESCRIPTION:
Insert a NC item or NC folder to the NC folder.

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

int cvxCmOutputInsOps
(
int idx_nc,       /* I: index of nc */
int cnt,          /* I: count of operations */
int *idx_op       /* I: list of operations */
)
/*
DESCRIPTION:
Insert operations to the NC item.

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

int cvxCmOutputManhours
(
int* idx_opdef,      /* I : index list of operations */
int cnt,             /* I : count of operations */
double* manhours      /* O : manhours (in unit : second ) traveled for operation */
)
/*
DESCRIPTION:
Output the ManHours.

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

int cvxCmOutputNC
(
int idx_nc,             /* I: index of nc */
evxCmOutType outType    /* I: out type */
)
/*
DESCRIPTION:
Output files of the NC item, depends on evxCmOutType.

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

int cvxCmSetClearance
(
double dClearZ,      /* I: Clearances Form's Clear Z */
double dAppZ,         /* I: Clearances Form's Approach Z */
double dRtZ,         /* I: Clearances Form's Retract Z */
double dAutoClear,   /* I: Clearances Form's Auto Clear */
int iMiniClr         /* I: Clearances Form's Check the status of Auto Clear */
)
/*
DESCRIPTION:
Modify the parameter of the clearances.

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

int cvxCmSetOutputNCSet
(
int idx_nc,          /* I: index of nc */
svxNcSetting *ncSet    /* I: attribute of nc */
)
/*
DESCRIPTION:
Set attributes of the NC item.
Members of ncSet should not be NULL.

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

int cvxCmSetSAndF
(
double FeedRough,         /* I: The Feed of Rough Operation */
double FeedFinish,      /* I: The Feed of Finish Operation */
double SpeedRough,      /* I: The Speed of Rough Operation */
double SpeedFinish,      /* I: The Speed of Finish Operation */
char* pName               /* I: This is the name of the operation you want to modify */
)
/*
DESCRIPTION:
Modify the parameter of the speed and feed .

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