Closed svandenb-dev closed 1 month ago
@svandenb-dev From my testing, deleting a PadstackInstanceTerminal does not delete the PadstackInstance it resides on. Can you provide the code you are using so I can better understand of the behavior you are seeing? Thanks!
from @drewm102 You can ignore my comment, I was able to reproduce and am looking into a solution
🔍 Before submitting the issue
🐞 Description of the bug
When a Padstackinstance is defined and we use the delete() method. the PadstackInstance is also removed. Therefore I tried the cast the PadstackInstance from PadstackinstanceTerminal to instantiate a new Padstackinstance but it fails.
I am not sure if this is a bug from PadstackInstanceTerminal.delete() Are we supposed to loose the PadstackInstance too ?
📝 Steps to reproduce
NA
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
No response
🐍 Which Python version are you using?
3.10
📦 Installed packages