ScrClipDesignAroundNets

Clips the design around nets.
UI Command:   None.
Syntax:   obj.ScrClipDesignAroundNets(<netNames>, <clipExtentDistance>, <simplifiedExtent>, <traceCuttingOption>, <ignoreLayerVisibility>, <reverseCutting>)
Parameters:  

ARRAY netNames (array of strings holding the net names of the selected nets)

BSTR clipExtentDistance (distance to push from the selected nets; must include units and will not support wavelength based distance)

BOOL simplifiedExtent (TRUE to simplify edges or FALSE)

INT traceCuttingOption

  • 0 – Cut traces that cross the boundary.
  • 1 – Include all traces that overlap the extent.
  • 2 – Include only traces that are completely inside the extent.

BOOL ignoreLayerVisibility (TRUE to ignore or FALSE)

BOOL reverseCutting (TRUE to clip outside the polygon or FALSE to keep objects inside the clipping polygon)

Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrClipDesignAroundNets (netNames, "1mm", TRUE, 0, TRUE, FALSE)

IPY Example:  

oDoc.ScrClipDesignAroundNets (netNames, '1mm', True, 0, True, False)