request: boolean Visible[String objName]
nidzela shared this idea 12 years ago
i've tried to find this somewhere in the forums, and finally i think it doesn't exist yet.
it would be a quite cool walkaround to have a "visibility command" within GeoGebra, so that you could use it inside a condition (for example, in the advanced tab). this way you could (more) easily set a new condition for an object depending on the visibility of another.
- Feedback & Questions
- +43 677 6137 2693
I am not to clear on your meaning, we can do that at this time for most things in the advanced tab. A little more detail on your part should clarify the request. I currently use conditions in the advanced tab with check boxes to change visibility of texts. See the attached example I recent put up for my students on Memory Triggers in trigonometry.
PS: I would like to find other Memory Triggers for math as well. Ideas are welcome. Most of these were found on YouTube.
Control visibilty of an object based on another already exists in the properties of the object itself. For example a point A (or a picture, or a polygon,..)can be displayed if his abscissa is equal to the abscissa of an another point B or if his distance to B is less than a value you wantand witohout Html but with geogebra
or setLabelVisible(name, booléen)to see String objName
oh, well... my request was not clear enough. i'll try with an example, then.
let's say there is a point A with some long visibility condition:
Zoom ∧ (FrRel ∨ Prob) ∧ n5 + n6 + n8 + n9 ≟ 0 ∧ M > 0
then i want to hide a point B that depends on A. imagine something like "only one of them has to be seen", for example, but could be "worse".
i think that possibility would be great!
you can also define (auxiliary) boolean
aVisible=Zoom ∧ (FrRel ∨ Prob) ∧ n5 + n6 + n8 + n9 ≟ 0 ∧ M > 0
and then set visibility condition of a to aVisible and for b to !aVisible.
It cetainly won't be added to 4.0 (the deadline was March 1st).
I've added it to the ideas list: http://www.geogebra.org/tra... so we can decidewhether to add it to 5.0 or not.
I, too, believe this feature is missing. I could not find a way to solve the following (everyday) problem:
- there is a line g
- there is a line h
- there is the angle alpha between g and h
- I want alpha only to be shown when both g and h are visible.
The way to do this seems to be by setting alpha's conditional visibility to:
Visible[g] AND Visible[h]
But there is no boolean Visible! Am i missing something here? This seems to be a standard problem, but I cannot solve it.
Whatever I try, Geogebra responds "Unknown command : getVisible".
I know this is an old thread, but I could not find the IsVisible functionality in the current version of Geogebra. Am I missing something? Is it implemented yet? I see some comments mentioning a GetVisible command, but I could not find this command either.
(I am trying to count the number of visible elements in a fixed list of objects)
Quote: "I am trying to count the number of visible elements in a fixed list of objects"
Only in JS.
getVisible(String objName, int view) in JS-reference
Comments have been locked on this page!