int cvxLayerActivate
(
vxName Name      /* I: layer name */
)
/*
DESCRIPTION:
Activates the specified layer so that newly-created entities are
automatically assigned to it.

Returns 1 if error; 0 if success,
*/
________________________________________________________________________________

int cvxLayerAdd
(
char *Name   /* I: layer name */
)
/*
DESCRIPTION:
Creates a new layer with the specified name.
Returns 1 if error; 0 if success,
*/
________________________________________________________________________________

int cvxLayerAssign
(
char *Name,      /* I: layer name */
int numEnts,   /* I: no. of entities to assign to layer */
int *idEnts      /* I: list of id's of entities to assign to layer */
)
/*
DESCRIPTION:
Assigns the specified entities to the specified layer.
Returns 1 if error; 0 if success,
*/
________________________________________________________________________________

int cvxLayerDel
(
vxName Name      /* I: layer name */
)
/*
DESCRIPTION:
Deletes the specified layer.
Returns 1 if error; 0 if success,
*/
________________________________________________________________________________

int cvxLayerExists
(
vxName Name    /* I: layer name */
)
/*
DESCRIPTION:
Returns 1 if the layer exists in the active target object. 
Returns 0 if it does not exist.
*/
________________________________________________________________________________

void cvxLayerInqActive
(
vxName Name      /* O: active layer name */
)
/*
DESCRIPTION:
Outputs the name of the active layer.
*/
________________________________________________________________________________

int cvxLayerList
(
int *Count,         /* O: layer count */
vxName **Names      /* O: list of layers */
)
/*
DESCRIPTION:
Outputs a list of all layers in the active part or sheet.
The calling procedure must deallocate the output list.
Returns 1 if error; 0 if success,
*/
________________________________________________________________________________

int cvxLayerName
(
int Number,      /* I: layer number (0-255) */
vxName Name      /* O: layer name */
)
/*
DESCRIPTION:
Outputs the name of the layer with the specified number.
Returns 1 if error; 0 if success.
*/
________________________________________________________________________________

int cvxLayerNum
(
vxName Name,   /* I: layer name */
int *Number    /* O: layer number (0-255) */
)
/*
DESCRIPTION:
Outputs the number of the layer with the specified name.
Outputs "Number = -1" if the layer is not found.

Returns 1 if error; 0 if success.
*/
________________________________________________________________________________

int cvxLayerShowAll (void)
/*
DESCRIPTION:
Makes all layers visible.
Returns 1 if error; 0 if success,
*/
________________________________________________________________________________

int cvxLayerStateGet
(
vxName Name,      /* I: layer name */
int *isVisible,   /* O: 1 = visible; 0 = blanked */
int *isFrozen      /* O: 1 = frozen, 0 = not frozen */
)
/*
DESCRIPTION:
Gets the state of the specified layer.
Returns 1 if error; 0 if success,
*/
________________________________________________________________________________

int cvxLayerStateSet
(
vxName Name,   /* I: layer name */
int isVisible,   /* I: 1 = visible; 0 = blanked, -1 = leave the same */
int isFrozen   /* I: 1 = frozen, 0 = not frozen, -1 = leave the same */
)
/*
DESCRIPTION:
Sets the state of the specified layer.
Returns 1 if error; 0 if success,
*/
________________________________________________________________________________

int cvxLayerSync(void)
/*
DESCRIPTION:
Synchronizes entity visibility with layer visibility.
*/
________________________________________________________________________________