CreateLineFromPolygon (Layout Editor)
Use: Create a line/trace object on the specified layer and net from the provided Polygon object. Net is optional.
Syntax: oLayout.CreateLineFromPolygon(<oPolygon>, <width>, <bendType>, <startCapType>, <endCapType>, <Layer>, <Net>)
Parameters: width - line width, in meters
bendType - {'corner', 'round'}
startCapType, endCapType - {'flat', 'extended', 'round'}
VB Example:
newobj = oLayout.CreateLineFromPolygon(oPolygon, 0.1e-3, 'round', 'flat', 'round', 'L1', 'DQ0')