SweepAlongVector

Sweeps the specified 1D or 2D parts along a vector.

UI Access Draw > Sweep > Along Vector.
Parameters
Name Type Description
<SelectionsArray> Array Structured array. See: SelectionsArray.

<VecSweepParametersArray>

Array

Array("NAME:VectorSweepParameters",

"DraftAngle:=", <value>,

"DraftType:=", <string>,

"CheckFaceFaceIntersection:=", <bool>,

"SweepVectorX:=", <value>

"SweepVectorY:=", <value>

"SweepVectorZ:=", <value>)

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

Return Value None.

 

Python Syntax SweepAlongVector(<SelectionsArray>, <VecSweepParametersArray>)
Python Example

oEditor.SweepAlongVector(

[

"NAME:Selections",

"Selections:=" , "Rectangle1",

"NewPartsModelFlag:=" , "Model"

],

[

"NAME:VectorSweepParameters",

"DraftAngle:=" , "0deg",

"DraftType:=" , "Round",

"CheckFaceFaceIntersection:=", False,

"SweepVectorX:=" , "0mm"

"SweepVectorY:=" , "0mm"

"SweepVectorX:=" , "12mm"

])