create_circle#
- Modeler3DLayout.create_circle(layername, x, y, radius, name=None, net_name=None, **kwargs)[source]#
Create a circle on a layer.
- Parameters:
- layername
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_name
str
,optional
Name of the net. The default is
None
, in which case the default name is assigned.
- layername
- Returns:
pyaedt.modeler.cad.object3dlayout.Circle3dLayout
Objects of the circle created when successful.
References
>>> oEditor.CreateCircle