Aide pour la commande SoitTrace

maherom shared this question 5 years ago
Needs Answer

Bonsoir

j'ai crée une petite application "cylindre généré par rotation"

ma question est de faire une commande Scripte pour activer ou désactiver la trace mais sans succès voici essai.

Meilleures Salutations

Comments (5)

photo
1

Use the SetTrace command in the script of the Start button to start the trace, and ZoomIn(1) in the Reset button to clear the trace.

Please see the attached file (I changed the name of the rectangle into "gen" because I always make a mess with french accents in scripting :) ). I've also changed your assignments in the scripts into SetValue commands, which are more efficient and don't recalculate the whole construction any time you execute them.

Hope this is what you need.

photo
1

I don't get it in version 5. Both buttons seem to work fine.


How do you get it?

photo
1

And both buttons have less than 9 lines of code...

photo
1

I've just opened the file in the app for iPad to have a look, but the file doesn't work at all. It's stuck with half cylinder visible, but if I'm not wrong I've saved my file with animation not active and just the generating rectangle visible. 🤔🤔

photo
photo
1

Using the Seqeunce() command will work better than SetTrace() as then all the sliders will work together

https://wiki.geogebra.org/e...

© 2023 International GeoGebra Institute