Category Windows and views, Object ProView

Function ProViewNamesGetRWildfire2


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProViewNamesGet
Description

Note: This function is deprecated. Use ProViewNamesGet() instead.

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(). This function is provided for users who don't wish to change their code to the new ProViewNamesGet. Note that using this may result in some view names being truncated.

Synopsis
#include <ProViewRWildfire2.h>
ProErrorProViewNamesGetRWildfire2(
ProMdl model
/* (In)
The handle to a part, assembly, or drawing.
*/
ProName** 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().
*/
ProName** 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, callProArrayFree().
*/
int* p_count
/* (Out)
The number of names in the view_names array.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_E_NOT_FOUNDNo view names were found for the specified model.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
See Also
ProArrayFree

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Support for Legacy Pro/TOOLKIT Functions