create_circle

Primitives3DLayout.create_circle(layername, x, y, radius, name=None, netname=None)[source]

Create a circle on a layer.

Parameters
layernamestr

Name of the layer.

xfloat

Position on the X axis.

yfloat

Position on the Y axis.

radiusfloat

Radius of the circle.

namestr, optional

Name of the circle. The default is None, in which case the default name is assigned.

netnamestr, optional

Name of the net. The default is None, in which case the default name is assigned.

Returns
str

Name of the circle created when successful.

References

>>> oEditor.CreateCircle