Category Windows and views, Object ProView

Function ProViewNameSet


Description
Sets the view name.
Synopsis
#include <ProView.h>
ProErrorProViewNameSet(
ProMdl model
/* (In)
The handle to a part, assembly, or drawing. Cannot be NULL.
*/
ProView p_view
/* (In)
The view handle
*/
ProLine p_name
/* (In)
The view name
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
PRO_TK_CANT_MODIFYThe view name cannot be modified.
PRO_TK_BAD_CONTEXTView name can be set only in 3D mode.

Manual References:

  1. User Interface: Basic Graphics: Storing Named Views
  2. User Interface: Basic Graphics: Storing Named Views