App DocumentObjectGroup/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 13: Line 13:
{{Caption|Simplified diagram of the relationships between the core objects in the program. The {{incode|App::DocumentObjectGroup}} class has an extension that allows it to group any type of object; the Group itself doesn't have many properties.}}
{{Caption|Simplified diagram of the relationships between the core objects in the program. The {{incode|App::DocumentObjectGroup}} class has an extension that allows it to group any type of object; the Group itself doesn't have many properties.}}


== How to use ==
==Usage==


# Press the {{Button|[[File:Std_Group.svg|16px]] [[Std_Group|Group]]}} button in the structure toolbar. An empty Group is created.
# Press the {{Button|[[File:Std_Group.svg|16px]] [[Std_Group|Group]]}} button in the structure toolbar. An empty Group is created.
Line 27: Line 27:
See the properties in the [[Std_Group|Std Group]] page.
See the properties in the [[Std_Group|Std Group]] page.


{{Std Base}}
{{Std Base{{#translation:}}}}
{{Document objects navi}}
{{Document objects navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}

Revision as of 17:59, 19 February 2020

Introduction

An App DocumentObjectGroup object, or formally an App::DocumentObjectGroup, is a simple element that allows grouping any type of App DocumentObject in the tree view no matter its type of data.

It was developed to organize the objects in the tree view in a way that is logical for the user.

Simplified diagram of the relationships between the core objects in the program. The App::DocumentObjectGroup class has an extension that allows it to group any type of object; the Group itself doesn't have many properties.

Usage

  1. Press the Group button in the structure toolbar. An empty Group is created.
  2. To add objects to a Group, select them in tree view, and then drag and drop them over the Group.
  3. To remove objects from a Group, drag them out of the Group, and onto the document label at the top of the tree view.

See the Std Group page for the complete information, including its use in Scripting.

Properties

An App DocumentObjectGroup (App::DocumentObjectGroup class) is derived from the basic App DocumentObject (App::DocumentObject class), therefore it shares all the latter's properties.

See the properties in the Std Group page.

Template:Std Base/en