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.

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Administrator, Employee Posts: 303
    Ancient Membership 100 Comments 100 Likes 25 Answers
    admin

    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.han

  • Member, Employee Posts: 1
    First Comment
    ✭✭✭

    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.
    Vamsi

  • Member Posts: 2
    First Comment
    **

    Hi Vamsi,
    The problem was solved by moving the object by variables in HFSS and editing the variables with PyAEDT.
    Thanks

Welcome!

It looks like you're new here. Sign in or register to get started.