Difference between revisions of "SelectObjects Command"
From GeoGebra Manual
m |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude> |
{{command|scripting}} | {{command|scripting}} | ||
;SelectObjects[ ] | ;SelectObjects[ ] | ||
Line 7: | Line 7: | ||
:{{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.</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).}} |
Revision as of 10:24, 30 July 2015
- 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).