Closed joamatab closed 3 months ago
c.auto_rename_ports(port_type='optical')
c.auto_rename_ports(partial(kf.port.rename_clockwise, port_type="optical"))
also you can do that globally by putting
kcl.rename_function = partial(kf.port.rename_clockwise, port_type="optical")
c.auto_rename_ports(port_type='optical')