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
Name Type Description
<SelectionsArray> Array Structured array. See: SelectionsArray.

<PathSweepParametersArray>

Array

["NAME:PathSweepParameters",

"DraftAngle:=", <value>,

"DraftType:=", <string>,

# Possible values for DraftType are "Extended", "Round", and "Natural".

"CheckFaceFaceIntersection:=", <bool>,

"TwistAngle:=", <string value with unit>,

"LockDirectionX:=" , <string value,

"LockDirectionY:=" , <string value,

"LockDirectionZ:=" , <string value>

]

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"

])