int cvxCustomViewActivate
(
int idView     /* I: index of custom view */
)
/*
DESCRIPTION:
Changes the orientation of the active view (part, sketch, cam plan)
to the specified custom view type and then does a "zoom all".

NOTE that the input view extent is only used if the "zoom all"
doesn't find any geometry.

Returns 1 if error, else  0.
*/
________________________________________________________________________________

int cvxCustomViewAdd
(
char *Name,     /* I: custom view name */
int LyrVis,     /* I: store current layer visibility(1 to store, 0 not to store) */
int ObjVis,     /* I: store current object visibility(1 to store, 0 not to store) */
int *idView     /* O: index of view (NULL to ignore) */
)
/*
DESCRIPTION:
Add a custom view.

Returns 1 if error, else  0.
*/
________________________________________________________________________________

int cvxCustomViewDel
(
int idView     /* I: index of custom view */
)
/*
DESCRIPTION:
Delete specified custom view.

Note:the view can not be the current active view.

Returns 1 if error, else  0.
*/
________________________________________________________________________________

int cvxCustomViewId
(
vxName Name,    /* I: custom view name */
int *idView     /* O: index of custom view */
)
/*
DESCRIPTION:
Get index of custom view of specified name.

Returns 1 if error, else  0.
*/
________________________________________________________________________________

int cvxViewActivate
(
int idView    /* I: id view */
)
/*
DESCRIPTION:
Activate the specified view.

Returns 1 if error, else  0.
*/
________________________________________________________________________________

void cvxViewExtent
(
double Extent      /* I: view extent (mm) */
)
/*
DESCRIPTION:
Sets the active view extent.
*/
________________________________________________________________________________

void cvxViewGet
(
svxMatrix *Frame, /* O: align active view with specified coordinate frame */
double *Extent      /* O: view extent */
)
/*
DESCRIPTION:
Retrieves the position, orientation and extent of the active view.
*/
________________________________________________________________________________

int cvxViewInqStandardType
(
int idView,         /* I: id view */
evxViewStd* type    /* O: view type */
)
/*
DESCRIPTION:
Gets the specified type of the standard view.

Returns 1 if error, else  0.
*/
________________________________________________________________________________

int cvxViewIsSection
(
int idView  /* I: id view */
)
/*
DESCRIPTION:
Determine whether the view is a section view.

Returns 1 if it is section view, 0 if it is not section view.
Returns -1 if error.
*/
________________________________________________________________________________

int cvxViewIsStandard
(
int idView  /* I: id view */
)
/*
DESCRIPTION:
Determine whether the view is a standard view.

Returns 1 if it is standard view, 0 if it is not standard view.
Returns -1 if error.
*/
________________________________________________________________________________

void cvxViewOrigin
(
svxPoint   *Origin   /* I: new view origin */
)
/*
DESCRIPTION:
Moves the origin of the active view to the specified point.
*/
________________________________________________________________________________

void cvxViewSet
(
svxMatrix *Frame, /* i: align active view with specified coordinate frame */
double Extent      /* i: view extent */
)
/*
DESCRIPTION:
Aligns the active view with the specified frame and
sets the specified view extent.
*/
________________________________________________________________________________

int cvxViewSetBndBox
(
double Scale,             /* I: scale factor */
const svxBndBox *BndBox   /* I: the 3D bounding box */
)
/*
DESCRIPTION:
Make specified bounding box visible in world coordinates.
*/
________________________________________________________________________________

void cvxViewStd
(
evxViewStd Type,   /* I: standard view type */
double NullExtent   /* I: view extent used if no geometry */
)
/*
DESCRIPTION:
Changes the orientation of the active view (part, sketch, cam plan)
to the specified standard view type and then does a "zoom all". 

NOTE that the input view extent is only used if the "zoom all"
doesn't find any geometry.
*/
________________________________________________________________________________