sweep_around_axis#
- Modeler3D.sweep_around_axis(assignment, axis, sweep_angle=360, draft_angle=0, number_of_segments=0)#
Sweep the selection around the axis.
- Parameters:
- assignment
list
,str
,int
,ansys.aedt.core.modeler.Object3d.Object3d
Name or ID of the object.
- axis
Coordinate system axis or the Application.AXIS object.
- sweep_angle
float
Sweep angle in degrees. The default is
360
.- draft_angle
float
Draft angle in degrees. The default is
0
.- number_of_segments
int
,optional
Number of segments of the sweep operation. Default is
0
.
- assignment
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.SweepAroundAxis