RouteFramed.set_lead

RouteFramed.set_lead(name: str) QRoutePoint

Defines the lead_extension by adding a point to the self.head/tail.

Parameters:

name – String (supported pin names are: start, end)

Returns:

Last point in the QRouteLead (self.head/tail)

Return type:

QRoutePoint

Raises:

Exception – Ping name is not supported