Difference between revisions of "MC-Basic:GETGROUP$"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= <''generic_group''> = getgroup$ (<''string_expression''>) <br> ? getaxis$ (<''string_expression''>).<group_property> |AVAILABILITY= |DESCR...")
 
Line 5: Line 5:
 
|SYNTAX=
 
|SYNTAX=
 
<''generic_group''> = getgroup$ (<''string_expression''>) <br>
 
<''generic_group''> = getgroup$ (<''string_expression''>) <br>
? getaxis$ (<''string_expression''>).<group_property>
+
? getgroup$ (<''string_expression''>).<group_property>
  
 
|AVAILABILITY=
 
|AVAILABILITY=

Revision as of 14:49, 17 June 2015

Returns a group according to the name received through the argument.

Syntax

<generic_group> = getgroup$ (<string_expression>)
? getgroup$ (<string_expression>).<group_property>

Type

Group

Range

A valid name of a real group.

Scope

Configuration, Task, Terminal

Limitations

Cannot serve as a group in Motion commands.
Input must be a name of a real group.

Examples

GenericGroup = GetGroup$("G1")

?GetGroup$("SCARA").coupled

See Also