Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlDependenciesList


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProMdlDependenciesDataList
Description
Note: This function is deprecated Use ProMdlDependenciesDataList instead. 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.
Synopsis
#include <ProMdl.h>
ProErrorProMdlDependenciesList(
ProMdl model
/* (In)
A valid model pointer.
*/
ProModel** p_dependencies_list
/* (Out)
An array of dependencies. The function allocates the memory for this argument. To free the memory, call the function ProArrayFree(). This list is sorted with primary key being type and secondary key being model name.
*/
int* p_count
/* (Out)
The number of objects in the p_dependencies_list.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_E_NOT_FOUNDNo dependencies 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. Updating Older Applications: Tools Available for Updating Applications
  3. Technical Summary of Changes for Creo 4.0 F000: Model