SweepFacesAlongNormalWithAttributes

Sweep a face along normal, and specify attributes of the new object.

UI Access Modeler > Surface > Sweep Faces Along Normal
Parameters
Name Type Description
<SelectionsArray> Array Structured array. See: SelectionsArray.

<parameters>

Array

Array("NAME:Parameters",

"NAME:SweepFaceAlongNormalToParameters",

"FacesToDetach:=", <faceIDarray>,

"LengthOfSweep:=", "<value><units>")

<AttributesArray> Array Structured array. See: AttributesArray.
Return Value None

 

Python Syntax SweepFacesAlongNormalWithAttributes(<SelectionsArray>, <parameters>, <AttributesArray>)
Python Example

oEditor.SweepFacesAlongNormalWithAttributes(

["NAME:Selections",

"Selections:=", "Rectangle1",

"NewPartsModelFlag:=", "Model"],

["NAME:Parameters",

"NAME:SweepFaceAlongNormalToParameters",

"FacesToDetach:=", [183],

"LengthOfSweep:=", "0.1mm"],

["NAME:Attributes",

"Name:=", "Box3",

"Flags:=", "",

"Color:=", "(143 175 143)",

"Transparency:=", 0,

"PartCoordinateSystem:=", "Global",

"UDMId:=", "",

"MaterialValue:=", "\"copper\"",

"SurfaceMaterialValue:=", "\"\"",

"SolveInside:=", False,

"ShellElement:=", False,

"ShellElementThickness:=", "0mm",

"IsMaterialEditable:=", True,

"UseMaterialAppearance:=", False,

"IsLightweight:=", False])