Category Drawings and detail, Object ProDtlsymgroup

Function ProDtlsymgroupSubgroupCreate


Description
Creates a variant group in a symbol definition.
Replacement in Object TOOLKIT: pfcDetailSymbolDefItem::CreateSubgroup
Synopsis
#include <ProDtlsymdef.h>
ProErrorProDtlsymgroupSubgroupCreate(
ProDtlsymgroup* parent_group
/* (In)
The parent symbol definition group from which to collect the subgroups. If the sym_group_id field is set to -1 the new group will be in the top level of groups in thesymbol definition.
*/
ProDtlsymgroupdata new_group_data
/* (In)
The group data (should include ProDtlitems belonging to the symbol definition).
*/
ProDtlsymgroup* new_group
/* (Out)
The new group created in the definition.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments is invalid.
PRO_TK_INVALID_NAMEA group with the provided name already exists at this level.

Manual References:

  1. Drawings: Manipulating Symbol Groups
  2. Drawings: Manipulating Symbol Groups