How to undo a move in PyAEDT

I am doing simulations with objects moved to hundreds of different locations using move() but this results in a long chain of "Move" in the model hierarchy which appears to slow down the simulations over time. How do I delete/undo these moves in Python so that there is only one move in the hierarchy per object at a time? Is it faster to delete and redraw the object every time? Thanks.
Answers
-
Hi @aetherael thank you for your question, I have tagged some of our AEDT experts who might be able to get you the answer you need.
@Samuel Lopez
@peng.han0 -
Hello Aetherael,
Can you please explain if you are moving to object to different locations by keeping parent object as a reference?
My guess is that you are trying to create a pattern of objects with similar geometrical identity. Am I correct?
Deleting and redrawing may not be a good idea as process might take more time for deletion in every instance.
Please provide above details and let me understand more to help you better.
Thanks.
Vamsi0 -
Hi Vamsi,
The problem was solved by moving the object by variables in HFSS and editing the variables with PyAEDT.
Thanks0