CreateObjectFromPolygon (Layout Editor)

Use: Create a polygon on the specified layer and net from the provided Polygon object. Return the name of the new object. Net is optional.

Syntax: oLayout.CreateObjectFromPolygon(<oPolygon>, <Layer>, <Net>)

Return Value: Object name.