Skip to content

Commit

Permalink
fix (#3839)
Browse files Browse the repository at this point in the history
Co-authored-by: ring630 <@gmail.com>
  • Loading branch information
hui-zhou-a authored Nov 3, 2023
1 parent 8340a30 commit 59f3781
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 59f3781

Please sign in to comment.