ansys / pyedb-core

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

Bondwire.set_start_elevation() #450

Open svandenb-dev opened 1 month ago

svandenb-dev commented 1 month ago

🔍 Before submitting the issue

🐞 Description of the bug

set_start_elevation requires CellInstance and layer as argument. However CellInstance is optional, EDB .NET accept the current opened Cell as argument.

When I try to change the bondwire elevation I got this error.

image

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

📦 Installed packages

NA
drewm102 commented 1 month ago

@svandenb-dev I don't think that passing the active Cell object is an option for this API in the .NET API. In the .NET API, the context parameter must either be a CellInstance or null. In the edb rpc API, it must be either a CellInstance or None. Can you try passing None? I think that should resolve this issue.