Draft AutoGroup

Description
The AutoGroup tool sets a selected Std Group, or a related element like an Arch Site, an Arch Building or an Arch BuildingPart, as the active auto-group. When an auto-group is set, new objects will be automatically moved to the indicated group upon being created.

Auto-grouping works with elements created with the Draft and Arch Workbenches.



Usage

 * 1) Select a,  in the tree view.
 * 2) Press the  button, or go to the menu . If no group is selected, a drop-down menu will display eligible groups to use, or "None".
 * 3) The button will change with the name of the active auto-group, for example,.

Notes:
 * At least one of or  must exist before using this tool.
 * When auto-grouping is active, new Draft and Arch objects will be placed in that group except when is on, in which case the new geometry will be placed in the Construction group.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

If the Draft Workbench is active the FreeCADGui application object has a property. This object has an  property, which contains the name of the active auto-group, or is  if no auto-group is active. To change the active auto-group use the method of the  object. To put objects in the active auto-group use the method of the Draft module.