Category Mechanica, Object ProMechitem

Function ProMechitemDependenciesGet


Description
Returns the Creo Simulate items dependent upon the input Creo Simulate item.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechItem.h>
ProErrorProMechitemDependenciesGet(
ProMechItem* item
/* (In)
The Creo Simulate item.
*/
ProAsmcomppath* component_path
/* (In)
The component path from the top level Creo Simulate model (the model used in ProMechanicaEnable() down to the item. Can be NULL if the item is in the top level model.
*/
ProMechItem** dependencies
/* (Out)
The dependent items. Free this array using ProArrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_E_NOT_FOUNDNo dependent items were found.
PRO_TK_GENERAL_ERRORA general error is encountered.
PRO_TK_OUT_OF_MEMORYThere is not enough memory to perform the operation.