Creates/edits a group of the displayed elements in the active window. The model file must be loaded in the active window.
Syntax |
gro <argument1> [argument2] [argument3] |
||
Arguments |
Name |
Data Type |
Description |
|
def |
String |
Creates a group of elements by the name "Group #" (# is the Group number), which are currently displayed in the active window. |
|
lst |
String |
Lists all groups created by you in the active window. |
|
rde <prevname> <newname> |
String, String, String |
Changes the group name (group having <prevname>) to <newname> if a group by <prevname> exists. If it does not exist, nothing is done. |
|
del |
String |
Deletes all the groups created in the active window and frees up the memory. |
Returns |
Nothing. |
||
Errors |
No error codes. If model is not loaded in the active window, then the message "Model File not Loaded" is displayed. If no argument(s)/wrong argument(s) is supplied to the "gro" command, then the usage of the command is output based on the level of error. |
||
Examples |
If the gro command is used for the first time after the model is loaded, then the following command creates a group of all the visible elements in the active window and this group is named "Group 1": gro def; |
||
|
To rename a group by the name of "Group 1" to "Displayed 1": gro rde {Group 1} {Displayed 1}; |
||
|
To list all the groups created in the active window: gro lst; |