| Description |
| Finds the first-level dependencies for an object in the Creo Parametric workspace. Be sure to cleanup dependencies database by calling ProMdlDependenciesCleanup() to ensure up to date results. Note: The returned dependencies are not sorted. 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::ListDependencies |
| Synopsis |
| #include <ProMdl.h> |
| ProError | ProMdlDependenciesDataList | ( |
| ProMdl model | |
| /*
(In) |
| A valid model pointer. Cannot be NULL. |
| */ |
| ProMdlnameShortdata** p_dependencies_list | |
| /*
(Out) |
| A ProArray of dependencies. 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 the p_dependencies_list (or less if returns PRO_TK_BAD_CONTEXT). Cannot be NULL. |
| */ |
| ) |
| Returns |
|
|
| See Also |
| ProArrayFree |