Skip to content

Commit

Permalink
MAINT: integrate pyaedt PR 3839 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Nov 4, 2023
1 parent 382b1b7 commit 92d6158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyedb/legacy/edb_core/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -1872,10 +1872,10 @@ def set_solder_ball(
cmp_property.SetSolderBallProperty(solder_ball_prop)

port_prop = cmp_property.GetPortProperty().Clone()
port_prop.SetReferenceHeight(self._pedb.edb_value(reference_height))
port_prop.SetReferenceSizeAuto(auto_reference_size)
if not auto_reference_size:
port_prop.SetReferenceSize(self._pedb.edb_value(reference_size_x), self._pedb.edb_value(reference_size_y))
port_prop.SetReferenceHeight(self._pedb.edb_value(reference_height))
cmp_property.SetPortProperty(port_prop)
edb_cmp.SetComponentProperty(cmp_property)
return True
Expand Down

0 comments on commit 92d6158

Please sign in to comment.