Function ProViewNamesGet
Description
Retrieves the names of the views in the specified model. Views in a drawing are predefined PAN/ZOOM locations of the drawing that are given a name. This is different from a drawing view.
To get a list of names of drawing views use the functions ProDrawingViewsCollect() and ProDrawingViewNameGet().
Synopsis
#include <ProView.h>
ProViewNamesGet
(
ProMdl model
/* (In)
The handle to a part, assembly, or drawing.
*/
ProLine** view_names
/* (Out)
The list of view names. You can pass NULL for this argument. The function allocates the memory for this argument. To free the memory, call ProArrayFree().
*/
ProLine** alternate_names
/* (Out)
The list of alternate names. You can pass NULL for this argument. The function allocates the memory for this argument. To free the memory, call ProArrayFree().
*/
int* p_count
/* (Out)
The number of names in the view_names array.
*/
)
Returns
The function successfully retrieved the information.
No view names were found for the specified model.
A general error occurred and the function failed.
See Also
Sample Code References
User Guide References
¿Fue esto útil?