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

Array("NAME:PathSweepParameters",

"DraftAngle:=", <value>,

"DraftType:=", <string>,

"CheckFaceFaceIntersection:=", <bool>,

"TwistAngle:=", <value>)

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

Return Value None.

 

Python Syntax SweepAlongPath(<SelectionsArray>, <PathSweepParametersArray>)
Python Example

oEditor.SweepAlongPath(

[

"NAME:Selections",

"Selections:=" , "Rectangle1,Polyline1",

"NewPartsModelFlag:=" , "Model"

],

[

"NAME:PathSweepParameters",

"DraftAngle:=" , "0deg",

"DraftType:=" , "Round",

"CheckFaceFaceIntersection:=", False,

"TwistAngle:=" , "0deg"

])