ATF_UG_NX_importer : ImporterPlugin

NEW in 3ds Max 2016: Exposes the Autodesk Translation Framework UG-NX Importer plugin to MAXScript.

Constructor:

Class instances not creatable by MAXScript.

   

Aliases:

ATF_UG_NX_importer
ATF_UG_NX_Import

   

   

ATF_UG_NX_importer interfaces:

Interface: Import Settings

   

Properties:

.ConvertToMesh : boolean : Read|Write

Gets/sets the selection of the "Convert to Mesh" drop-down list.

When set to True (default), the imported geometry will be converted to a mesh.

When set to False, the geometry objects will be imported as Body_Object class instances.

   

.UpAxis : enum : Read|Write
UpAxis enums: {#x|#y|#z}

Gets/sets the selection of the "Up Axis" drop-down list.

Possible values are:

#x: X - Up

#y: Y - Up

#z: Z - Up (default)

   

.HierarchyMode : enum : Read|Write
HierarchyMode enums: {#UsingGrouping|#UsingLayer|#Flattened}

Gets/sets the selection of the "Hierarchy Mode" drop-down list.

Possible values are:

#UsingGrouping (default) - uses the grouping information

#UsingLayer - uses the layer information

#Flattened - flattens the hierarchy

   

.MeshResolution : integer : Read|Write

Gets/sets the value of the "Mesh Resolution" slider / value.

Possible values range is from -10 (Less) to 10 (More).

Default is 0.

   

.KeepDummyNodes : boolean : Read|Write

Gets/sets the state of the "Keep Dummy Nodes" checkbox.

When set to True, dummy nodes will be preserved.

Default is False.

   

Methods:

No methods exposed.

   

Actions:

No actions exposed.

   

EXAMPLE

ATF_STEP_importer.ConvertToMesh = false --keep Body Objects
ATF_STEP_importer.UpAxis = #y --switch axis to Y up
ATF_STEP_importer.HierarchyMode = #Flattened --flatten hierarchy
ATF_STEP_importer.KeepDummyNodes = false --no dummies
importFile @"C:\Temp\mytestfile.prt" #noprompt --import without UI

See Also