Exposes the Autodesk Translation Framework Sketchup (.skp) Importer plugin to MAXScript. This is the new default Sketchup importer for .skp files which replaces the legacy sketchUp:ImporterPlugin, so specifying this importer with the using keyword parameter to importFile() is not required.
Available in 3ds Max 2020.2 Update and higher.
Constructor:
Class instances not creatable by MAXScript.
Aliases:
SKETCHUP_Import interfaces:
Interface: Import Settings
Properties:
ATF_SKETCHUP_Import.UpAxis : enum : Read|Write UpAxis enums: {#x|#y|#z}
Gets or sets the selection of the "Up Axis" drop-down list.
Possible values are:
ATF_SKETCHUP_Import.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:
ATF_SKETCHUP_Import.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_SKETCHUP_Import.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_SKETCHUP_Import.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_SKETCHUP_Import.ImportCameras : boolean : Read|Write
Gets or sets whether to import cameras.
When set to True, cameras are imported.
ATF_SKETCHUP_Import.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_SKETCHUP_Import.DoubleSidedMaterials : boolean : Read|Write
Gets or sets whether to import materials as double-sided.
When set to True, faces are covered with a double-sided material so that flipped faces have the appearance of correct orientation.
ATF_SKETCHUP_Import.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. Example:
-- ATF_SKETCHUP_Import example resetMaxFile #noPrompt -- Set all the supported options ATF_SKETCHUP_Import.UpAxis = #z ATF_SKETCHUP_Import.ImportTextures = true ATF_SKETCHUP_Import.ImportCameras = true ATF_SKETCHUP_Import.HierarchyMode = #UsingGrouping ATF_SKETCHUP_Import.DoubleSidedMaterials = true file_path = @"D:\My Documents\3ds Max\scripts\TestData\Sketchup\TexturedHouses.skp" result = importFile file_path #noPrompt using:ATF_SKETCHUP_Import