API ドキュメンテーション > Features > Object ProFeature > Function ProFeatureExternChildrenGet
Function ProFeatureExternChildrenGet
Description
Collect data on external (and local) children of the specified feature according to the specified reference type.
Synopsis
#include <ProRefInfo.h>
ProFeatureExternChildrenGet
(
ProFeature* feature
/* (In)
The handle to a feature to be checked.
*/
ProExtRefType child_type
/* (In)
The type of required references. PRO_ALL_REF_TYPES means both local and external references will be collected. PRO_LOC_GEOM_REF, PRO_LOC_REL_REF, PRO_FEAT_PAT_LOC_REF and PRO_LOC_MERGE_REF means only local references will be collected. The rest types causes only external references to be collected.
*/
ProExtRefInfo** r_child_infos
/* (Out)
Array of children found. Allocated inside function when any children are of child_type are found.
*/
int* n_infos
/* (Out)
Number of elements in r_child_infos.
*/
)
Returns
The function successfully returned the information.
Invalid feature handler or invalid reference type, r_child_infos is NULL, or n_infos is NULL.
Required license not found.
No children of child_type are found.
(*r_infos) is not NULL.
There are too many references in model to fit them into an array. Some references will be excluded.
The operation failed.
Sample Code References
User Guide References
これは役に立ちましたか?