Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlDeclaredList


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProMdlDeclaredDataList
Description
Note: This function is deprecated Use ProMdlDeclaredDataList instead. Finds all the first-level objects declared for the specified object. For example, if notebook A is declared in notebook B and notebook B is declared in part P, only notebook B will be returned.
Synopsis
#include <ProMdl.h>
ProErrorProMdlDeclaredList(
ProMdl model
/* (In)
The part, assembly or notebook.
*/
ProModel** p_declared_list
/* (Out)
A ProArray of ProModel declared object names and types. The function allocates memory for this argument, but you must free it. To free the memory, call the function ProArrayFree().
*/
int* p_count
/* (Out)
The number of objects in p_declared_list.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_E_NOT_FOUNDNo objects were found.
PRO_TK_BAD_INPUTSThe input argument is invalid.
See Also
ProArrayFree

Manual References:

  1. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  2. Technical Summary of Changes for Creo 4.0 F000: Model