Difference between revisions of "SelectObjects Command"

From GeoGebra Manual
Jump to: navigation, search
m
(command syntax: changed [ ] into ( ))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
{{command|scripting}}
+
;SelectObjects( )
;SelectObjects[ ]
 
 
:Deselects all selected objects.
 
:Deselects all selected objects.
;SelectObjects[ <Object>, <Object>, ... ]
+
;SelectObjects( <Object>, <Object>, ... )
 
:Deselects all objects and selects objects passed as parameters. All parameters must be [[Labels and Captions|labeled]] objects.
 
:Deselects all objects and selects objects passed as parameters. All parameters must be [[Labels and Captions|labeled]] objects.
 
:{{examples|1=<div>
 
:{{examples|1=<div>
:* Let ''A'', ''B'' and ''C'' be points. <code><nowiki>SelectObjects[A, B, C]</nowiki></code> selects points ''A'', ''B'' and ''C''.
+
:* Let ''A'', ''B'' and ''C'' be points. <code><nowiki>SelectObjects(A, B, C)</nowiki></code> selects points ''A'', ''B'' and ''C''.
:* The command <code><nowiki>SelectObjects[Midpoint[A, B]]</nowiki></code> has no effect, besides deselecting all selected objects.</div>}}
+
:* The command <code><nowiki>SelectObjects(Midpoint(A, B))</nowiki></code> has no effect, besides deselecting all selected objects.</div>}}
 
{{Note| This command now cancels any drag that is in progress (useful in scripts).}}
 
{{Note| This command now cancels any drag that is in progress (useful in scripts).}}

Latest revision as of 09:09, 12 October 2017


SelectObjects( )
Deselects all selected objects.
SelectObjects( <Object>, <Object>, ... )
Deselects all objects and selects objects passed as parameters. All parameters must be labeled objects.
Examples:
  • Let A, B and C be points. SelectObjects(A, B, C) selects points A, B and C.
  • The command SelectObjects(Midpoint(A, B)) has no effect, besides deselecting all selected objects.
Note: This command now cancels any drag that is in progress (useful in scripts).
© 2024 International GeoGebra Institute