Properties
Category
English
Similar Topics
Statistics
Comments
1
Participants
2
Subscribers
3
Votes
2
Views
1263
Share
Answered
I cannot show or hide an object using the command SetVisibleInView in the algebra view ... or I cannot find the correct parameter of this command even in the manual plz
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
see the manual for SetVisible(): https://wiki.geogebra.org/e...
Note: This command does not set show/hide in the algebras view. This command changes the visibility in the three graphics views (Graphics=1, Graphics2=2 and 3D-Graphics=-1). For each object this setting can be found in Properties/Advanced/Location
Usually using Properties/Advanced/ConditionToShowObject and/or the corresponding script function SetConditionToShowObject() is better than SetVisible(). (The object independently considers the visibility due to a condition. This is done dynamically without an explicit script command in one or more events and the associated scripts).
.
Example: A point "A" should not be displayed in graphics, but in graphics2 it is to be displayed.
SetVisibleInView( A, 1, false )
SetVisibleInView( A, 2, true )
Note: it is also possible that an object is not visible in all 3 graphics.
Comments have been locked on this page!