Std WahlBegrenzungRahmen

From FreeCAD Documentation
Revision as of 18:51, 17 April 2020 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Std SelBoundingBox

Menüeintrag
Ansicht → Begrenzungsrahmen
Arbeitsbereich
Alle
Standardtastenkürzel
Keiner
Eingeführt in Version
-
Siehe auch
Std ZeichenStil

Beschreibung

Std WahlBegrenzungRahmen setzt die 3D Ansicht in der Weise, dass die Auswahl einzelner Objekte nicht die gesamte Form eines ausgewählten Objekts auswählt, sondern nur den Begrenzungsrahmen hervorhebt.

Verwendung

Preferences

The related setting is stored: Tools → Edit parameters... → BaseApp → Preferences → View → ShowSelectionBoundingBox. It is a boolean value, the default is false.

Scripting

See also: FreeCAD Scripting Basics.

To change the ShowSelectionBoundingBox setting use the SetBool method of the appropriate ParameterGrp. The code sample does not work if FreeCAD is in console mode.

import FreeCAD, FreeCADGui

grp = FreeCAD.ParamGet('User parameter:BaseApp/Preferences/View')
if grp.GetBool('ShowSelectionBoundingBox'):
  grp.SetBool('ShowSelectionBoundingBox',False)
else:
  grp.SetBool('ShowSelectionBoundingBox',True)

FreeCADGui.updateCommands()