SweepAlongPath
Sweeps the specified 1D or 2D parts along a path. The last 1D object specified is the path for the sweep.
| UI Access | Draw > Sweep > Along Path. | |||||||||
| Parameters |
|
|||||||||
| Return Value | None. |
| Python Syntax | SweepAlongPath(<SelectionsArray>, <PathSweepParametersArray>) |
| Python Example |
oEditor = oDesign.SetActiveEditor("3D Modeler") oEditor.SweepAlongPath( [ "NAME:Selections", "Selections:=" , "Section_1_1,WindingPath_1_1_1", "NewPartsModelFlag:=" , "Model" ], [ "NAME:PathSweepParameters", "DraftAngle:=" , "0deg", "DraftType:=" , "Round", "CheckFaceFaceIntersection:=", False, "ClearAllIDs:=" , False, "TwistAngle:=" , "0deg", "LockDirectionX:=" , "0", "LockDirectionY:=" , "0", "LockDirectionZ:=" , "1" ]) |