Group Dialog

# 2.9.3 Group Dialog

The Group command combines the selected (Section 2.2.14) Lines and Shapes (Section 2.3) to create structures (Section 2.7). You can give the structure (Section 2.7) a title consisting of Manufacturer, Description and Part Number on the Group dialog.

The title will be pre-populated with the title of the last Structure you ungrouped (Section 2.9).

You can include Turnouts, Sectional, Straight or Curved tracks in the selected objects which allows you to add cosmetic details to a Turnout definitions, or create a new Turnout definition. This can also be used to if there are fixed track locations on a structure, like on an engine shed.

To modify a Structure or Turnout definition, first place the object on the layout, select and then Ungroup the object. Now the parts of the object can be edited using the Modify (Section 2.2.7), Draw (Section 2.3) or other commands. Once completed, select the object parts and use the Group command to update the definition (or create a new one by changing the title).

The Group dialog shows the Manufacturer, Description and part number (Title) of the new definition. Initial values are based on selected turnouts and structures or on the last Ungrouped object (Section 2.9.10). The dialog also contains a toggle button (Replace with new group?), which is used if you want to replace the selected objects with the new definition. All fields listed in this dialog window must contain data.

The definition data will be added to the `xtrkcad.cus` (Section 1.9) file for later use. Please consider contributing this information for others to use.

If you modify a definition from a XTrackCAD Library parameter file, the new definition will replace the existing definition on the Hot Bar (Section 2.7), otherwise it will be added to the end of the Hot Bar. You can use the Custom Management (Section 2.9.2) dialog to change the title or delete custom definitions.

Note: There is a limit of 128 track segments in a group.