create_circle#
- Modeler3DLayout.create_circle(layer, x, y, radius, name=None, net=None, **kwargs)[source]#
Create a circle on a layer.
- Parameters:
- layer
str
Name of the layer.
- x
float
Position on the X axis.
- y
float
Position on the Y axis.
- radius
float
Radius of the circle.
- name
str
,optional
Name of the circle. The default is
None
, in which case the default name is assigned.- net
str
,optional
Name of the net. The default is
None
, in which case the default name is assigned.
- layer
- Returns:
ansys.aedt.core.modeler.cad.object_3dlayout.Circle3dLayout
Objects of the circle created when successful.
References
>>> oEditor.CreateCircle