change decoration of a segment via script

mrcoffie shared this question 1 year ago
Answered

Hello! Is there a way to access the decoration of a line segment through a script? I am trying to set up an easy way to display sides of polygons congruent through scripting. Here are my efforts so far:


https://ggbm.at/Y2MTuFaD


As you can see, I can show/hide the angle decorations, but I cannot find a way to show/hide/change the segment decorations.


Many thanks,

Marc

Comments (11)

photo
3

Why do we make things difficult when they can be simple?

Two commands could simplify things:

SetDecoration [object, number], and

SetArcSize [Object, number]

I think the automation is left in the last place and because of this we have to hide the graphics with the Properties window. And this is not very pleasant during a class lesson,,,

photo
1

Thank you very much by SetDecoration suggestion.My GeoGebra .pdf manual hasn't this command.

photo
2

Official .pdf manuals are very old.

Use the GeoGebra wiki to learn about all tools, commands and syntaxes.

photo
1

Thank you very much, @Simona Riva.

photo
photo
1
photo
2

...Doesn't exist :)

photo
1

( ... m'era sembrato ... di aver visto un non-gatto 😀 )

photo
1

M'eLa sembLato, vorrai dire! :D

photo
1

... Pelfetto! :D

photo
© 2019 International GeoGebra Institute