Category Windows and views, Object ProView

Function ProViewStore


Description
Stores the current view in the specifed name. This is equivalent to the Creo Parametric command View, Saved Views, Save.
Synopsis
#include <ProView.h>
ProErrorProViewStore(
ProMdl model
/* (In)
The handle to a part, assembly, or drawing. If this is NULL, the function uses the current object.
*/
ProLine view_name
/* (In)
The name under which the view will be stored in the object database.
*/
ProView* p_view
/* (Out)
The handle to the view stored.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully stored 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. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Storing Named Views
  3. User Interface: Basic Graphics: Storing Named Views

Sample Code References:

  1. pt_examples ( TestView.c )
  2. pt_geardesign ( GearDesign.c )
  3. pt_geardesign ( GearDesign.c )