Import

Imports a 3D model file.

Note:

This script does not import DXF or GDSII models. See: ImportDXF and ImportGDSII.

UI Access Modeler > Import.
Parameters
Name Type Description
<Parameters> Array Structured array.

Array("NAME:NativeBodyParameters",

"HealOption:=" , <integer>,

"Options:=" , <string>,

"FileType:=" , <string "UnRecognized">,

"MaxStitchTol:=" , <integer>,

"ImportFreeSurfaces:=" , <boolean>,

"GroupByAssembly:=" , <boolean>,

"CreateGroup:=" , <boolean>,

"STLFileUnit:=" , <string>,

"MergeFacesAngle:=" , <float>,

"HealSTL:=" , <boolean>,

"ReduceSTL:=" , <boolean>,

"ReduceMaxError:=" , <integer>,

"ReducePercentage:=" , <integer>,

"PointCoincidenceTol:=" , <float>,

"CreateLightweightPart:=", <boolean>,

"ImportMaterialNames:=" , <boolean>,

"SeparateDisjointLumps:=", <boolean>,

"SourceFile:=" , <string>)

Return Value None.

Python Syntax

Import(<Parameters>)

Python Example

oEditor.Import(

["NAME:NativeBodyParameters",

"HealOption:=" , 0,

"Options:=" , "-1",

"FileType:=" , "UnRecognized",

"MaxStitchTol:=" , -1,

"ImportFreeSurfaces:=" , False,

"GroupByAssembly:=" , False,

"CreateGroup:=" , True,

"STLFileUnit:=" , "Auto",

"MergeFacesAngle:=" , 0.02,

"HealSTL:=" , False,

"ReduceSTL:=" , False,

"ReduceMaxError:=" , 0,

"ReducePercentage:=" , 100,

"PointCoincidenceTol:=" , 1E-06,

"CreateLightweightPart:=", False,

"ImportMaterialNames:=" , False,

"SeparateDisjointLumps:=", False,

"SourceFile:=" , "C:\\Users\\jdoe\\Desktop\\export.model"

])