ScrDrawVia

Draws a via.

UI Command:   Home > Drop Via.
Syntax:   obj.ScrDrawVia(<ctrX>, <ctrY>, <topLayer>, <botLayer>, <padstack>, <netName>, <offsetX>, <offsetY>, <rotAngle>, <unit>)
Parameters:  

DOUBLE ctrX

DOUBLE ctrY

BSTR topLayer

BSTR botLayer

BSTR padstack

BSTR netName

DOUBLE offsetX

DOUBLE offsetY

DOUBLE rotAngle

BSTR unit

Return Value:  

BOOL:

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrDrawVia (100, 100, "Top Metal", "Bottom Metal", "Thru Via", "NET-1", 0.0, 0.0, 0.0, "mm")

IPY Example:  

oDoc.ScrDrawVia(100, 100, 'Top Metal', 'Bottom Metal', 'Thru Via', 'NET-1', 0.0, 0.0, 0.0, 'mm')