Category Windows and views, Object ProView

Function ProViewIdFromNameLineGet


Description
Retrieves the view id from model and view name
Synopsis
#include <ProView.h>
ProErrorProViewIdFromNameLineGet(
ProMdl model
/* (In)
The handle to a part, assembly, or drawing. Cannot be NULL.
*/
ProLine view_name
/* (In)
View name. Cannot be NULL.
*/
int* p_view_id
/* (Out)
View ID. Cannot be NULL.
*/
)
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.

Manual References:

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