ScrDrawCircle

Draws a circular plane.

UI Command:   Home > Draw Circle.
Syntax:   obj.ScrDrawCircle(<ctrX>, <ctrY>, <radius>, <layerName>, <netName>, <unit>)
Parameters:  

DOUBLE ctrX (x coordinate of the center point)

DOUBLE ctrY (y coordinate of the center point)

DOUBLE radius

BSTR layerName

BSTR netName

BSTR unit

Return Value:  

BOOL:

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrDrawCircle(100, 100, 20, "Top Metal", "NET-1", "mm")

IPY Example:  

oDoc.ScrDrawCircle(100, 100, 20, 'Top Metal', 'NET-1', 'mm')