SweepAroundAxis

Sweeps the specified 1D or 2D parts around an axis.

UI Access DrawSweep > Around Axis.
Parameters
Name Type Description
<SelectionsArray> Array Structured array. See: SelectionsArray.

<AxisSweepParametersArray>

Array

Array("NAME:AxisSweepParameters",

"DraftAngle:=", <value>,

"DraftType:=", <string>,

"CheckFaceFaceIntersection:=", <bool>,

"SweepAxis:=", <value>

"SweepAngle:=", <value>

"NumOfSegments:=", <value>)

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

Possible values for SweepAxis are "X", "Y", and "Z".

Return Value None.

 

Python Syntax SweepAroundAxis(<SelectionsArray>, <AxisSweepParametersArray>)
Python Example

oEditor.SweepAroundAxis(

[

"NAME:Selections",

"Selections:=" , "Rectangle1",

"NewPartsModelFlag:=" , "Model"

],

[

"NAME:AxisSweepParameters",

"DraftAngle:=" , "0deg",

"DraftType:=" , "Round",

"CheckFaceFaceIntersection:=", False,

"SweepAxis:=" , "X"

"SweepAngle:=" , "360deg"

"NumOfSegments:=" , "12"

])

 

VB Syntax SweepAroundAxis <SelectionsArray>, <AxisSweepParametersArray>
VB Example

oEditor.SweepAroundAxis

Array("NAME:Selections",_

"Selections:=", "Rectangle1",_

"NewPartsModelFlag:=" , "Model")

Array("NAME:AxisSweepParameters", _

"DraftAngle:=", "0deg",_

"DraftType:=", "Round",_

"CheckFaceFaceIntersection:=", False,_

"SweepAxis:=" , "X",_

"SweepAngle:=" , "360deg",_

"NumOfSegments:=" , "12")