Drawing Symbol Groups
This section describes Creo TOOLKIT functions that give access to user-defined groups contained in drawing symbols.
User-defined groups in symbol definitions are represented by the following handle in Creo TOOLKIT:
typedef struct pro_dtlvargroup
{
ProDtlsymdef symbol_def;
int var_group_id;
} ProDtlsymgroup;
The group handle contains the definition handle and an identifier that is unique in the group definition.
Creo Parametric allows a hierarchal relationship between the groups in a symbol definition. Thus, some groups contain groups, or are parents of other groups. To transmit the “level” in which a group resides to Creo TOOLKIT functions, pass the ProDtlsymgroup handle of the parent group. To look at the groups at the top level, pass a ProDtlsymgroup handle with an identifier of -1.