API 文档 > Mechanica > Object ProMechitem > Function ProMechitemDependenciesGet
Function ProMechitemDependenciesGet
Description
Returns the Creo Simulate items dependent upon the input Creo Simulate item.
Licensing Requirement
Synopsis
#include <ProMechItem.h>
ProMechitemDependenciesGet
(
/* (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
The function succeeded.
One or more input arguments are invalid.
No dependent items were found.
A general error is encountered.
There is not enough memory to perform the operation.
这对您有帮助吗?