Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: return error message when trying to create_ports_on_pins of RLC comp #407

Closed
wants to merge 3 commits into from

Conversation

gkorompi
Copy link
Collaborator

No description provided.

@gkorompi gkorompi linked an issue Apr 24, 2024 that may be closed by this pull request
@gkorompi gkorompi requested a review from hui-zhou-a April 24, 2024 06:20
@@ -785,6 +785,9 @@ def create_port_on_pins(self, refdes, pins, reference_pins, impedance=50.0, port
reference_pins = [reference_pins]
if isinstance(refdes, str) or isinstance(refdes, EDBComponent):
refdes = self.instances[refdes]
if refdes.rlc_values:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to check type rathen than rlc value. Why is RLC not supported?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but type is EDBComponent for all inputs (even inductors, caps etc). Ports are not successfully created on RLC pins. Should this be added for 3DL?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gkorompi there is a command to replace RLC by ports which deactivate component and create a circuit port. You might want to call this one when you hit such component ?
Also also rather component type instead of rlc_value.

Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@svandenb-dev @ring630 Any new feedback on this PR state ?

src/pyedb/dotnet/edb_core/components.py Outdated Show resolved Hide resolved
@hui-zhou-a
Copy link
Collaborator

@svandenb-dev @ring630 Any new feedback on this PR state ?

I am ok with pr, even though this method is wired to me.

@gkorompi gkorompi closed this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error message when trying to create_port_on_pins of an RLC component
4 participants