ansys / pyedb-core

Ansys Electronics Database Python Client Package
https://edb.core.docs.pyansys.com/
MIT License
4 stars 2 forks source link

BUG: PadstackInstanceTerminal.padstack_instance property fails #429

Closed svandenb-dev closed 1 month ago

svandenb-dev commented 1 month ago

🔍 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 ?

image

image

📝 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

Na
drewm102 commented 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!

svandenb-dev commented 1 month ago

from @drewm102 You can ignore my comment, I was able to reproduce and am looking into a solution