The objects that I deleted is still showing in the object list #5498
SK-mechcoder
started this conversation in
General
Replies: 1 comment
-
@SK-mechcoder We are trying to improve this behavior, because until now, pyaedt modeler was retriving the information from the AEDT file, so it means that if you delete an object manually, the PyAEDT object is not anymore syncrhonize with AEDT modeler. We are working a new Pull request which will fix this issue from 2024R2, if you use previous versions, you will not have this advantage. The only workaround, is saving the project and reconnecting again: relay.save_project() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
During the execution of the script, I occasionally switch to the Electronics Desktop UI to manually delete some 3D CAD objects, and then return to the script console to continue execution. In my script, I have a for loop that attempts to delete any objects that have been removed from the UI, by checking for "None" when accessing the imported bodies by id. However, even though I get a warning stating there are no objects to delete, the script continues to show the deleted objects when I print the imported_bodies list. How can I resolve this issue?
here is the messages from console.
Beta Was this translation helpful? Give feedback.
All reactions