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) To use this command at least one Draft Layer must exist.
 * 2) Optionally select the layer you want make active in the Tree view.
 * 3) There are several ways to invoke the command:
 * 4) * Press the button in the Draft Tray. This button can look different. If there is an active layer it will show its, its  and its name.
 * 5) * Select the option from the menu.
 * 6) If you have not yet selected a layer: select a layer from the layer menu that opens.
 * 7) The button in the Draft Tray is updated.

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.