ScrConvertTracesToPlanes

Performs trace to plane conversion on a specified trace.
UI Command:   Click Tools > Convert Traces to Planes.
Syntax:   obj.ScrConvertTracesToPlanes (<layerName>, <netName>, <mergeAll>, <minVoidArea>, <unitName>)
Parameters:  

BSTR layerName

BSTR netName (If net name is "all", traces of all nets on the layer will be converted)

BOOL mergeAll (TRUE merges all planes; FALSE does not)

DOUBLE minVoidArea (all voids smaller than this value will be deleted)

BSTR unitName ("m", "meters", "mm", "cm", "um", "microns", "inches", "mils", "nanometers", "nm", or "feet")

Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrConvertTracesToPlanes("BOTTOM","GND",true,0.001,"mm")

IPY Example:  

oDoc.ScrConvertTracesToPlanes('BOTTOM','GND',True,0.001,'mm')