How to create objects(point, line etc) using commands in script?

Math123 shared this question 3 months ago
Needs Answer

Is it possible to create object using script?

like point , ray, line, vector etc...

Best Answer
photo

Oui , voir fichier joint

Comments (4)

photo
2

Oui , voir fichier joint

photo
1

Hello frndmrsl,

Thanks for the support. Is it possible create free objects in script?

Also using if command it create multiple objects .

Free Points A,B

if[slider a>0,Vector[A,B]] (working but creating multiple vectors not one)

if[slider a>0,v = Vector[A,B]] (Command not working with v=Vector[A,B])

photo
2

If the object v exist you can SetVaule()

or def Object by Scriptcommand


Execute({"v=Vector(A,B)"})

photo
1

Thanks hawe it worked....!

photo
© 2020 International GeoGebra Institute