<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=Std_Group</id>
	<title>Std Group - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=Std_Group"/>
	<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=Std_Group&amp;action=history"/>
	<updated>2026-06-15T02:22:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://wiki.labrps.com/index.php?title=Std_Group&amp;diff=1674&amp;oldid=prev</id>
		<title>LabRPS: Created page with &quot;{{Docnav |Part |LinkMake |Std Base |IconL=Std_Part.svg |IconR=Std_LinkMake.svg |IconC=Labrps.svg }}  {{GuiCommand |Name=Std Group |MenuLocation=Tree view → Right click on the document name → Create group |Phenomena=All |Shortcut= |Version= |SeeAlso=Std Part }}  ==Description==   Std Group (internally called App DocumentObjectGroup) is a general purpose cont...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=Std_Group&amp;diff=1674&amp;oldid=prev"/>
		<updated>2024-07-25T20:00:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Docnav |&lt;a href=&quot;/index.php?title=Std_Part&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Std Part (page does not exist)&quot;&gt;Part&lt;/a&gt; |&lt;a href=&quot;/index.php?title=Std_LinkMake&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Std LinkMake (page does not exist)&quot;&gt;LinkMake&lt;/a&gt; |&lt;a href=&quot;/Std_Base&quot; title=&quot;Std Base&quot;&gt;Std Base&lt;/a&gt; |IconL=Std_Part.svg |IconR=Std_LinkMake.svg |IconC=Labrps.svg }}  {{GuiCommand |Name=Std Group |MenuLocation=&lt;a href=&quot;/Tree_view&quot; title=&quot;Tree view&quot;&gt;Tree view&lt;/a&gt; → Right click on the document name → Create group |Phenomena=All |Shortcut= |Version= |SeeAlso=&lt;a href=&quot;/index.php?title=Std_Part&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Std Part (page does not exist)&quot;&gt;Std Part&lt;/a&gt; }}  ==Description==   &lt;a href=&quot;/Std_Group&quot; title=&quot;Std Group&quot;&gt;Std Group&lt;/a&gt; (internally called &lt;a href=&quot;/index.php?title=App_DocumentObjectGroup&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;App DocumentObjectGroup (page does not exist)&quot;&gt;App DocumentObjectGroup&lt;/a&gt;) is a general purpose cont...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Docnav&lt;br /&gt;
|[[Std_Part|Part]]&lt;br /&gt;
|[[Std_LinkMake|LinkMake]]&lt;br /&gt;
|[[Std_Base|Std Base]]&lt;br /&gt;
|IconL=Std_Part.svg&lt;br /&gt;
|IconR=Std_LinkMake.svg&lt;br /&gt;
|IconC=Labrps.svg&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{GuiCommand&lt;br /&gt;
|Name=Std Group&lt;br /&gt;
|MenuLocation=[[Tree_view|Tree view]] → Right click on the document name → Create group&lt;br /&gt;
|Phenomena=All&lt;br /&gt;
|Shortcut=&lt;br /&gt;
|Version=&lt;br /&gt;
|SeeAlso=[[Std_Part|Std Part]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Description== &lt;br /&gt;
&lt;br /&gt;
[[Std_Group|Std Group]] (internally called [[App_DocumentObjectGroup|App DocumentObjectGroup]]) is a general purpose container that allows you to group different types of objects in the [[Tree_view|Tree view]], regardless of their data type. It is used as a simple folder to categorize and organize the objects in your model, in order to keep a logical structure. Std Groups may be nested inside other Std Groups.&lt;br /&gt;
&lt;br /&gt;
The Std Group tool is not defined by a particular workbench, but by the base system, thus it is found in the {{MenuCommand|structure toolbar}} that is available in all [[Workbenches|workbenches]].&lt;br /&gt;
&lt;br /&gt;
To group 3D objects as a single unit, with the intention of creating assemblies, use [[Std_Part|Std Part]] instead.&lt;br /&gt;
&lt;br /&gt;
[[File:Std_Group_example.png]]&lt;br /&gt;
&lt;br /&gt;
{{Caption|Various elements inside Std Groups in the tree view.}}&lt;br /&gt;
&lt;br /&gt;
==Usage== &lt;br /&gt;
&lt;br /&gt;
# Do one of the following:&lt;br /&gt;
#* Right-click the name of the document in the [[Tree_view|Tree view]] and in the context menu choose {{MenuCommand|Create group...}}.&lt;br /&gt;
#* Press the {{Button|[[Image:Std_Group.svg|16px]] [[Std_Group|Create group]]}} button.&lt;br /&gt;
# An empty Group is created.&lt;br /&gt;
# To add objects to the Group, select them in [[Tree_view|Tree view]], and drag and drop them onto the Group.&lt;br /&gt;
# To remove objects from the Group, drag them out of the Group, and onto the document label at the top of the [[Tree_view|Tree view]].&lt;br /&gt;
# Objects can also be added and removed by editing the {{PropertyData|Group}} property of the Group.&lt;br /&gt;
&lt;br /&gt;
==Properties== &lt;br /&gt;
&lt;br /&gt;
The [[Std_Group|Std Group]], internally called [[App_DocumentObjectGroup|App DocumentObjectGroup]] ({{incode|App::DocumentObjectGroup}} class), is derived from the basic [[App_DocumentObject|App DocumentObject]] ({{incode|App::DocumentObject}} class) and inherits all its properties.&lt;br /&gt;
&lt;br /&gt;
The Std Group has the same properties as the [[App_FeaturePython#Properties|App FeaturePython]], which is the most basic instance of an [[App_DocumentObject|App DocumentObject]]. It also has the following additional properties in the [[Property_editor|property editor]]. Hidden properties can be shown by using the {{MenuCommand|Show all}} command in the context menu of the [[Property_editor|property editor]].&lt;br /&gt;
&lt;br /&gt;
=== Data === &lt;br /&gt;
&lt;br /&gt;
{{TitleProperty|Base}}&lt;br /&gt;
&lt;br /&gt;
* {{PropertyData|Group|LinkList}}: a list of referenced objects. By default, it is empty {{value|[]}}.&lt;br /&gt;
* {{PropertyData|_ Group Touched|Bool|Hidden}}: whether the group is touched or not.&lt;br /&gt;
&lt;br /&gt;
==Scripting== &lt;br /&gt;
&lt;br /&gt;
{{Emphasis|See also:}} [[LabRPS_Scripting_Basics|LabRPS Scripting Basics]] and [[Scripted_objects|scripted objects]].&lt;br /&gt;
&lt;br /&gt;
See [[Part_Feature|Part Feature]] for the general information on adding objects to the document.&lt;br /&gt;
&lt;br /&gt;
A Std Group ([[App_DocumentObjectGroup|App DocumentObjectGroup]]) is created with the {{incode|addObject()}} method of the document. Once a Group exists, other objects can be added to it with the {{incode|addObject()}} or {{incode|addObjects()}} methods.&lt;br /&gt;
&lt;br /&gt;
{{Code|code=&lt;br /&gt;
import LabRPS as App&lt;br /&gt;
&lt;br /&gt;
doc = App.newDocument()&lt;br /&gt;
group = App.ActiveDocument.addObject(&amp;quot;App::DocumentObjectGroup&amp;quot;, &amp;quot;Group&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
obj1 = App.ActiveDocument.addObject(&amp;quot;Part::Box&amp;quot;, &amp;quot;Box1&amp;quot;)&lt;br /&gt;
obj2 = App.ActiveDocument.addObject(&amp;quot;Part::Box&amp;quot;, &amp;quot;Box2&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
group.addObjects([obj1, obj2])&lt;br /&gt;
App.ActiveDocument.recompute()&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This basic {{incode|App::DocumentObjectGroup}} doesn&amp;#039;t have a Proxy object so it can&amp;#039;t be fully used for sub-classing.&lt;br /&gt;
&lt;br /&gt;
For [[Python|Python]] subclassing you should create a {{incode|App::DocumentObjectGroupPython}} object.&lt;br /&gt;
&lt;br /&gt;
{{Code|code=&lt;br /&gt;
import LabRPS as App&lt;br /&gt;
&lt;br /&gt;
doc = App.newDocument()&lt;br /&gt;
obj = App.ActiveDocument.addObject(&amp;quot;App::DocumentObjectGroupPython&amp;quot;, &amp;quot;Name&amp;quot;)&lt;br /&gt;
obj.Label = &amp;quot;Custom label&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Docnav&lt;br /&gt;
|[[Std_Part|Part]]&lt;br /&gt;
|[[Std_LinkMake|LinkMake]]&lt;br /&gt;
|[[Std_Base|Std Base]]&lt;br /&gt;
|IconL=Std_Part.svg&lt;br /&gt;
|IconR=Std_LinkMake.svg&lt;br /&gt;
|IconC=Labrps.svg&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Std_Base_navi}}&lt;br /&gt;
{{Userdocnavi}}&lt;/div&gt;</summary>
		<author><name>LabRPS</name></author>
	</entry>
</feed>