Draft Groupement automatique

From FreeCAD Documentation
Revision as of 18:57, 3 May 2018 by Mario52 (talk | contribs) (Created page with "== Description == Cet outil permet de définir un groupe, ou dérivé comme Draft VisGroup, Arch Site, Arch Building/fr|Arch Building...")

Draft AutoGroup

Emplacement du menu
Draft → Utilitaires → AutoGroup
Ateliers
Draft, Arch
Raccourci par défaut
Aucun
Introduit dans la version
-
Voir aussi
Aucun

File:Draft AutoGroup example.jpg

Description

Cet outil permet de définir un groupe, ou dérivé comme Draft VisGroup, Arch Site, Arch Building ou Arch Floor , en tant que groupe automatique actif. Lorsqu'un groupe automatique est défini, tous les nouveaux objets créés dans Draft Workbench or Arch Workbench seront placés dans ce groupe.

How to use

  1. Select menu Draft -> Utilities -> AutoGroup, or click the autogroup button on the toolbar, or right-click a Group object in the tree view → Utilities → AutoGroup
  2. Choose the desired group in the drop-down box

Options

  • When AutoGroup is set, the button turns green, it means autogrouping is activated. You can click on it to change the group or unset.
  • When autogrouping is active, any new Draft or Arch object created will be placed in that group (except when Draft construction mode is on, in which case it goes to the construction group).
  • This only works when creating Draft or Arch objects from the GUI buttons. Not when using them from python. This is so it is still possible for python scripts to do the grouping they want, regardless of what autogrouping says.

Scripting

In python scripts, using Draft autogrouping is simply done with the command below:

import Draft
Draft.autogroup(object)