int cvxCmMachineActive
(
int idx_machine   /* I: machine index */
)
/*
DESCRIPTION:
Set the machine to active.

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

int cvxCmMachineDelete
(
int idx_machine      /* I: machine index */
)
/*
DESCRIPTION:
Delete the machine.

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

int cvxCmMachineGetAttr
(
int id,                 /* I: index of machine */
evxCmMachAttr attr,     /* I: type of attribute */
svxCmAttrValue *value   /* O: value of attribute, user need to free the memory */
)
/*
DESCRIPTION:
Get attribute of a machine.

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

int cvxCmMachineInsert
(
evxCmMachClass machine_class, /* I: machine class */
evxCmMachType machine_type,   /* I: machine type */
evxCmMachSubType sub_type,    /* I: machine sub_type */
int *idx_machine              /* O: index of machine */
)
/*
DESCRIPTION:
Insert a machine to the cam plan.

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

int cvxCmMachineSetAttr
(
int id,                  /* I: index of the machine */
evxCmMachAttr attr,      /* I: type of attribute */
svxCmAttrValue *value   /* I: value of attribute */
)
/*
DESCRIPTION:
Modify the machine's attribute .

"value->type"          &     "value->cnt"   &value->data depends on     "attr", as follows:
ZW_CAM_ATTR_VALUE_TYPE_STRING       <=32                                CM_MACH_NAME
                                                                        CM_MACH_POST_CONFIGURATION
ZW_CAM_ATTR_VALUE_TYPE_INTEGER      1       evxCmMachClass              CM_MACH_CLASS
                                            evxCmMachType               CM_MACH_TYPE
                                            evxCmMachSubType            CM_MACH_SUBTYPE
                                            evxCmMachCutCompenation     CM_MACH_CUT_COMPENSATION


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

int cvxCmToolChangerDelete
(
int id            /* I: tool index */
)
/*
DESCRIPTION:
Delete the tool changer in the active machine.

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

int cvxCmToolChangerInsert
(
int id,      /* I: tool index */
int L,      /* I: location */
int D,      /* I: cutter compensation along Diameter */
int H         /* I: cutter compensation along Hight */
)
/*
DESCRIPTION:
Insert a tool to the active machine's tool changer.

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