Category Windows and views, Object ProView

Function ProViewCreate


Description
Creates a new view or provides the existing view with the specified name.
Synopsis
#include <ProView.h>
ProErrorProViewCreate(
ProMdl model
/* (In)
The handle to a part, assembly.
*/
ProLine view_name
/* (In)
The name under which the view will be created in the object database.
*/
ProView* p_view
/* (Out)
The handle to the view stored.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the view.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

Manual References:

  1. User Interface: Basic Graphics: Storing Named Views