RoutePathfinder.to_script

RoutePathfinder.to_script(thin: bool = False, is_part_of_chip: bool = False) Tuple
Parameters:
  • thin – If true then any key in the QComponent’s options whose value is the same value as the default will not be included in the body

  • is_part_of_chip – If true, body will not include header code

Returns: Code that if copy-pasted into a .py file would generate an instance of this class with the same properties as the instance calling this function