Share

ATF_JT_importer : ImporterPlugin

Replaces the previously available ImporterPlugin class JT_Import with an Autodesk Translation Framework implementation of a JT importer. Available in 3ds Max 2016 and higher.

Constructor:

Class instances not creatable by MAXScript.

Aliases:

ATF_JT_importer
ATF_JT_Import

ATF_JT_importer interfaces:

Interface: Import Settings

Properties:

ATF_JT_importer.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.

ATF_JT_importer.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)
ATF_JT_importer.HierarchyMode : enum : Read|Write
HierarchyMode enums: {#UsingGrouping|#UsingLayer|#Flattened}

Gets or sets the selection of the "Hierarchy Mode" drop-down list, which determines how the imported scene is organized by 3ds Max.

Possible values are:

  • #UsingGrouping (default) - creates a scene hierarchy using 3ds Max groups
  • #UsingLayer - creates a scene hierarchy using 3ds Max layers
  • #Flattened - creates a flat hierarchy
ATF_JT_importer.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.

ATF_JT_importer.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.

ATF_JT_importer.ImportTextures : boolean : Read|Write

Gets or sets whether to import textures.

When set to True, textures are imported in the project's textures directory.

ATF_JT_importer.ImportCameras : boolean : Read|Write

Gets or sets whether to import cameras.

When set to True, cameras are imported.

ATF_JT_importer.ImportTextures : boolean : Read|Write

Gets or sets whether to import textures.

When set to True, textures are imported in the project's textures directory.

ATF_JT_importer.ImportCameras : boolean : Read|Write

Gets or sets whether to import cameras.

ATF_JT_importer.ImportHiddenObjects : boolean : Read|Write

Gets or sets whether to import hidden objects. Hidden objects remain hidden upon import. Available in 3ds Max 2021 and higher.

ATF_JT_importer.DoubleSidedMaterials : boolean : Read|Write

Gets or sets whether to apply double-sided materials to imported faces. This will make flipped faces appear normal.

ATF_JT_importer.PreserveLayers : boolean : Read|Write

Gets or sets whether to attempt to preserve layers. Layers can only be imported if #UsingGrouping or #Flattened is selected for the .HiearchyMode property. Available in 3ds Max 2021 and higher. 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.jt" #noprompt --import without UI

Was this information helpful?