Attribute Groups Format

The AttributeGroups tag contains DAAttributeGroup tags that provide a means for the user to select the groups of attributes shown in the Details panel when an Attributes Group tree object is selected. A maximum of 10 attributes can be grouped per attribute group object. Attribute group objects automatically sort themselves by drop-downs of available types and subtypes.

<AttributeGroups ObjId="3" Type="CAERepBase" Ver="2">
  <DAAttributeGroup ObjId ="100001"  Type="DAAttributeGroup" Ver="2">
    <GroupType PropType="string">Group Type</GroupType> 
    <GroupSubtype PropType="string">Group Subtype</GroupSubtype>
    <AttributeIDs PropType="vector&lt;unsigned int>">list of attribute numbers</AttributeIDs>
  </DAAttributeGroup>
</AttributeGroups>

The group is defined in the Details panel with 3 standard rows and then up to 10 attributes:

The AttributeGroups tag properties should be set as follows:

PropertyValueMeaning
ObjIdenter an integerNumber identifying this attribute group collection
TypeCAERepBaseSpecifies that the file is in ANSYS intermediate file format
Verenter an integerVersion of the AttributeGroups object definition; this should be set to 2

The DAAttributeGroup tag properties should be set as follows:

PropertyValueMeaning
ObjIdenter an integerUnique number identifying this DAAttributeGroup, suggest starting at fixed number (e.g. 500) to avoid conflict with other objects
TypeDAAttributeGroupSignifies that the contents of the DAAttributeGroup tag define an attribute group
Verenter an integerVersion of the DAAttributeGroup object definition; this should be set to 2

The following tags can be included as children of a DAAttributeGroup tag:

PropertyValueMeaning
GroupTypeenter a stringType of this attribute group
GroupSubtypeenter a stringSubtype of this attribute group
AttributeIDsenter a comma separated list of attribute ID numbersAttributes that will be displayed for this attribute group

The PropType property of the GroupType and GroupSubtype tags must be set to string, and the PropType property of the AttributeIDs tags must be set to vector&lt;unsigned int>.


Release 18.2 - © ANSYS, Inc. All rights reserved.