Difference between revisions of "SelectObjects Command"
From GeoGebra Manual
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact ) |
(command syntax: changed [ ] into ( )) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} |
− | {{command|scripting}} | + | ;SelectObjects( ) |
− | ;SelectObjects | ||
:Deselects all selected objects. | :Deselects all selected objects. | ||
− | ;SelectObjects | + | ;SelectObjects( <Object>, <Object>, ... ) |
− | :Deselects all | + | :Deselects all objects and selects objects passed as parameters. All parameters must be [[Labels and Captions|labeled]] objects. |
+ | :{{examples|1=<div> | ||
+ | :* 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>}} | ||
+ | {{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.
- Let A, B and C be points.
Note: This command now cancels any drag that is in progress (useful in scripts).