Difference between revisions of "Group"

From PyMOLWiki
Jump to navigation Jump to search
Line 2: Line 2:
 
The [[Group]] command creates or updates a "group" object.  The grouped objects are collected underneath a '''+''' sign in the object tree (see images).
 
The [[Group]] command creates or updates a "group" object.  The grouped objects are collected underneath a '''+''' sign in the object tree (see images).
  
[[Image:group_off.png|right|frame|Three EF-Hand proteins loaded into PyMOL]]
+
<gallery>
[[Image:group_on1.png|right|frame|Applied the group command, "group efHand, *"]]
+
Image:group_off.png|Three EF-Hand proteins loaded into PyMOL
[[Image:group_on2.png|right|frame|The plus was clicked and expanded to show the hierarchy of objects.]]
+
Image:group_on1.png|Applied the group command to the proteins via: "group efHand, *"
 +
Image:group_on2.png|The plus was clicked and expanded to show the hierarchy of objects.
  
 
== Usage ==
 
== Usage ==

Revision as of 11:24, 19 May 2008

Overview

The Group command creates or updates a "group" object. The grouped objects are collected underneath a + sign in the object tree (see images).

<gallery> Image:group_off.png|Three EF-Hand proteins loaded into PyMOL Image:group_on1.png|Applied the group command to the proteins via: "group efHand, *" Image:group_on2.png|The plus was clicked and expanded to show the hierarchy of objects.

Usage

group name, members, action

Example

group efHand, 1cll 1ggz 1sra

# allow addition and removal from the group
group efHand, open
# disallow addition/removal from the group
group efHand, close

Notes

Group objects can usually be used as arguments to commands. It can be processed as a group or as a selection, in which case all the atoms from all objects in the group will be used.


See Also

ungroup order select