API Documentation > Windows and views > Object ProView > Function ProViewRetrieve
Function ProViewRetrieve
Description
Retrieves the current view (the orientation) of the specified object, as stored under the given name. The function is equivalent to the Creo Parametric View, Saved Views, Set.
Replacement in Object TOOLKIT:
Synopsis
#include <ProView.h>
ProViewRetrieve
(
ProMdl model
/* (In)
The handle to a part or assembly. If this is NULL, the function uses the current object.
*/
ProLine view_name
/* (In)
The name of the view to be retrieved.
*/
ProView* p_view
/* (Out)
The handle to the retrieved view.
*/
)
Returns
The function successfully retrieved the view.
Model is in read-only state.
One or more of the input arguments are invalid.
The function was unable to retrieve a view with the specified name.
A general error occurred and the function failed.
Sample Code References
User Guide References
Was this helpful?