Properties
Category
English
Tags
Definition
Similar Topics
Statistics
Comments
32
Participants
2
Subscribers
2
Votes
2
Views
1525
Share
Answered
Hello,
Is there a command or a way to get some object's definition? It's something similar to Name(),
- 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
https://wiki.geogebra.org/e...
(with second parameter = false)
attached a sample without FormulaText.
l5 is the generated script-list to create the named point.
(I think you mean not free points instead you mean full depended, named points. )
---------------------------
For me is absolutely not clear why you need the named points. If I wanted to construct something with the points, I would create more objects in a list with an iteration (sequence or zip) based on l4.
For this (depending what you want do) you need maybe the points in separate lists (For example same distance from center and/or same difference angle to the next corner and/or sorted by the polar-vector etc.)
This splitting in differences lists (starting from l4) is also possible with iterations in the algebra view. If you want use scripts to do this you become big problems (performance, consistence, bugs in context of change corner-count etc.).
------------------------
Maybe the named points are useful to try something temporarily (manually with the tools). After click the button: all Points are deleted (and new created) so also the temorarily objects are deleted.
-----------------
I change the zip to sequence (a matter of preferences)
I change the polygon definition (more control for the followings)
I check the number of objects. I think it's correct (was not trivial) but no garantie
-----------------------------------
Maybe you don't know all the used commands. If something not clear: ask.
I think it's not possible because an Element of a list is not an object but it's a reference to a process (with commands or pointers)
Only named obects contain GGB-Commands in FormulaText.
Elements in lists contain never GGB-Commands in the FormulaText.
--------------------
See the 2 experiments in the attachment
Comments have been locked on this page!