ansys / pyedb-core

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

BUG: Terminal.get_product_property_ids() failing #435

Closed svandenb-dev closed 1 month ago

svandenb-dev commented 1 month ago

🔍 Before submitting the issue

🐞 Description of the bug

I am not able to retrieve the product ids:

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 We throw an exception if the product properties are not defined for the specified ID. Is it expected for the product property to be empty in this case? If this behavior is not intuitive, we could also change it to just return an empty string rather than throw an assertion.

svandenb-dev commented 1 month ago

@drewm102 how can we get information on product properties ? I never quite understood how it works.

drewm102 commented 1 month ago

@svandenb-dev Product properties are generalized containers on edb objects for storing data associated with specific products. For example, 3D layout designs frequently stores port data specific to the 3D layout product in the product properties. These properties are populated when an edb is imported into a specific Ansys product. If an EDB is created from scratch, these properties will generally be empty unless the user actively sets the product properties.

svandenb-dev commented 1 month ago

I see thanks. I will close this issue then.