API Documentation > Solids and parts > Object ProSolid > Function ProSolidExternChildrenGet
Function ProSolidExternChildrenGet
Description
Collect data on external children of the features of the specified solid according to the specified reference type.
Synopsis
#include <ProRefInfo.h>
ProSolidExternChildrenGet
(
ProSolid solid
/* (In)
The handle to a solid 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 solid handler or invalid reference type, or 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
Was this helpful?