sweep_around_axis#

Modeler2D.sweep_around_axis(assignment, axis, sweep_angle=360, draft_angle=0, number_of_segments=0)[source]#

Sweep the selection around the axis.

Parameters:
assignmentlist, str, int, ansys.aedt.core.modeler.Object3d.Object3d

Name or ID of the object.

axis

Coordinate system axis or the Application.AXIS object.

sweep_anglefloat

Sweep angle in degrees. The default is 360.

draft_anglefloat

Draft angle in degrees. The default is 0.

number_of_segmentsint, optional

Number of segments of the sweep operation. Default is 0.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.SweepAroundAxis