Category 3D drawings and annotations, Object ProDtlsyminst

Function ProDtlsyminstSymgroupsCollect


Description
Gets the groups included in the symbol instance.
Replacement in Object TOOLKIT: pfcDetailSymbolInstItem::ListGroups
Synopsis
#include <ProDtlsyminst.h>
ProErrorProDtlsyminstSymgroupsCollect(
ProDtlsyminst* sym_inst
/* (In)
The symbol instance.
*/
ProDtlsyminstGroupStatus status
/* (In)
The rule for getting symbol groups.
*/
ProDtlsymgroup** group_array
/* (Out)
ProArray of groups included in the instance. Free this output using ProArrayFree ().
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the information.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_NOT_FOUNDNo groups with the designated status were found in the symbol instance.

Manual References:

  1. Drawings: Identifying Symbol Groups in an Instance