reorder_pins#

ComponentDef.reorder_pins(reordered_pins)#

Reorders the existing pins in the components definition to be in the same order as in the provided list.

Parameters:
reordered_pinslist of ComponentPin

The component pins in the new order. These must be the same pins that already exist in the component definition.