API Documentation > Creo Parametric fundamentals > Object ProMdl > Function ProMdlDeclaredDataList
Function ProMdlDeclaredDataList
Description
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. Note: In Creo 3 this function does not support names longer than 80 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for longer names will be added in a future release.
Replacement in Object TOOLKIT:
Synopsis
#include <ProMdl.h>
ProMdlDeclaredDataList
(
ProMdl model
/* (In)
The part, assembly or notebook. Cannot be NULL.
*/
ProMdlnameShortdata** p_declared_list
/* (Out)
A ProArray of ProModel declared object names and types. Call ProArrayFree to free this memory. Cannot be NULL.
*/
ProMdlfileType** model_file_types
/* (Out)
A ProArray of dependency types, same length as p_dependencies_list and in the same order of dependencies. Cannot be NULL.
*/
int* p_count
/* (Out)
The number of objects in p_declared_list. Cannot be NULL.
*/
)
Returns
The function successfully retrieved the information.
No objects were found.
The input argument is invalid.
See Also
User Guide References
Was this helpful?