| 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: | pfcModel::ListDeclaredModels |
| Synopsis |
| #include <ProMdl.h> |
| ProError | 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 |
|
|
| See Also |
| ProArrayFree |