SnapVias (IC Editor)

Forces the edges of selected vias to snap to alignment.

UI Access

After choosing vias, select Snap Vias from the Layout ribbon.

Parameters
Name Type Description
<Parameters> Array

Structured array containing these parameters in order:

  • <NAME:vias>
  • <Objects>

<NAME:vias>

String Required first parameter which must have the specified value (i.e., "vias").
<Objects> Integer A comma-separated list of integers, where each integer represents a selected via (i.e., "via_0", "via_1" , "via_2", etcetera)
<Parameters2> Array

Structured array containing these parameters in order:

  • <NAME:Setting Contents>
  • <IsFactorBased>
  • <SnapTol>
  • <AlignTol>
  • <RemoveDanglingVias>

<NAME:Setting Contents>

String Required first parameter which must have the specified value (i.e., "Setting Contents").

<IsFactorBased>

Boolean True selected via groups are snapped by a maximum area equal to the tolerance (i.e., <Snaptol> and <AlignTol>) times the surface area of the via group.
False selected via groups are snapped by a maximum distance of the tolerance.

<SnapTol>

Integer Vias at or within this tolerance are snapped.

<AlignTol>

Integer Vias at or within this tolerance are aligned.

<RemoveDanglingVias>

Boolean True removes vias from selection that have no connectivity or have connectivity only to a single layer.
False deactivates this check.
Return Value

None.

 

Python Syntax SnapVias([<NAME:vias>, <Objects>], [<NAME:Setting Contents>, <IsFactorBased>, <SnapTol>, <AlignTol>, <RemoveDanglingVias>])
Python Example

oEditor.SnapVias(

[

"NAME:vias",

"via_0",

"via_1",

"via_2"

],

[

"NAME:Setting Contents",

"IsFactorBased:=", True,

"snapTol:=", "3",

"AlignTol:=", "300um",

"removeDanglingVias:=", True

])

 

VB Syntax SnapVias (<NAME:vias>, <Objects>), (<NAME:Setting Contents>, <IsFactorBased>, <SnapTol>, <AlignTol>, <RemoveDanglingVias>)
VB Example

oEditor.SnapVias Array("Name:vias", "via_0", "via_1", "via_2"), Array(NAME:Setting Contents", "IsFactorBased:=", True, "snapTol:=", "3", "AlignTol:=", "300um", "removeDanglingVias:=", True)