Function ProViewNameToView
Description
Returns a pointer to the specified view, given the model and view name.
Replacement in Object TOOLKIT:
Synopsis
#include <ProView.h>
ProViewNameToView
(
ProMdl model
/* (In)
The handle to the model whose view you want to find
*/
ProLine view_name
/* (In)
The view name
*/
ProView* p_view
/* (Out)
The pointer to the view. NOTE this will be set in the case of PRO_TK_NO_ERROR *and* PRO_TK_INVALID_ITEM.
*/
)
Returns
The function successfully returned the information.
One or more of the input arguments are invalid.
A view was not found for the specified name.
The function successfully returned the view, but the view's orientation instructions are not valid, e.g. it refers to geometry that does not currently exist in the part.
A general error occurred and the function failed.
Sample Code References
¿Fue esto útil?