sweep_along_vector#

Modeler2D.sweep_along_vector(assignment, sweep_vector, draft_angle=0, draft_type='Round')#

Sweep the selection along a vector.

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

Name or ID of the object.

sweep_vectorfloat

List of [x1, y1, z1] coordinates or Application.Position object for the vector.

draft_anglefloat, optional

Draft angle in degrees. The default is 0.

draft_typestr

Type of the draft. Options are "Round", "Natural", and "Extended". The default is "Round".

Returns:
ansys.aedt.core.modeler.cad.object_3d.Object3d or list of
ansys.aedt.core.modeler.cad.object_3d.Object3d

One or more objects created.

References

>>> oEditor.SweepAlongVector