Transform object, but discard original?

SharkD shared this question 5 years ago
Answered

Normally, when you scale or transform an object, a duplicate is created and you then have two objects.

Is there a way to transform an object, but discard the original? Thanks.

Comments (4)

photo
1

if you make a transformation of an object, that transformation is dependent from the original and only exists if the original is kept. So you only can hide it or use conditions to show etc.

If you want to get rid of the original, you can redefine the original with a command as Translate( <Object>, <Vector> ), witch redifines the original without creating a second one.

chris

photo
1

"Is there a way to transform an object, but discard the original? Thanks."


How about changing the object with a script?

photo
1

copyfreeobject() then delete() in a script

photo
1

Create a list with the free coordinates of the Vertex from object.

Construct the object with this point-list.


In a script transform all points in this list with SetValue(list, Zip(<transformation>,p,list))

Note: CopyFreeObjekt(object) in the most cases give only a value (length or area etc.)

© 2023 International GeoGebra Institute