Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ring630 committed Nov 2, 2023
1 parent fd22e24 commit fc0cfef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaedt/edb_core/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -1869,10 +1869,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 fc0cfef

Please sign in to comment.