ScriptSpot

Script

Datasmith Layer Exporter (3DS Max to Unreal Engine)

By simplychenable · 2021-12-12

Version
1.04
Version requirement
3DS Max 2016
Other software required
Datasmith Plugin for 3DS Max 4.26 and up
Date updated
2021-12-11
Votes
2
External download
External download
Description

A simple maxscript that batches layer export to .udatasmith for Unreal Engine and 3DS Max users.


Features includes (tested on Max 2020):

  • Saves Datasmith files (both .udatasmith and associated asset folders) to a target location. You can open said folder to inspect the files directly.

  • Automatically turns off scene exposure control prior to export, then back on after all export is completed (in order to skip extra post process volume if missed).

  • Possible batch exports based on: layer selectionall scene layersselection sets, and current selection. Objects that are hidden and layers/selection sets that contain no visible objects will be skipped.

  • Exported files will have their file name changed to reflect the nested layer system within Max. For example, if you have a nested layer structure as "Building > Interior > Furniture", your udatasmith file will be named "Building_Interior_Furniture.udatasmith". The elongated layer hierarchy will not be displayed under Layer Selection section of the UI.

  • Allows same option for exporting current frame and active time segment (animation time line will update interactively based on specified parameter) as the native Datasmith exporter for animation.

  • Allows user to determine how Forest Pack objects are to be exported - either as Static Mesh or Bounding Box. To understand what setting suits your needs, please watch this video tutorial by iToo Software or click on the "?" in the UI.

Videos
Comments (6)

3dsmax 2022 ue 5.03

feitianw · 2023-12-20

-- Unknown property: *IndudeTarget" in undefined -- File name: D: \Documents\3dsMax\Scripts\Layer DatasmithLayerExporter_v1.04.ms--Line number: 137

simplychenable · 2023-12-21

thanks for the heads up. I am just getting back around to making the changes. a new version should be out fairly soon!

thanks for your patience.

Showing error in Max 2024 version

threedstar · 2023-10-27

When run its showing error
--Unknown property:"IncludeTarget" in undefined
--Line number: 142

Showing error in Max 2024 version

threedstar · 2023-10-27

When run its showing error --Unknown property:"IncludeTarget" in undefined
--Line number: 142

Showing error in Max 2024 version

threedstar · 2023-10-27

When run its showing error --Unknown property:"IncludeTarget" in undefined
--Line number: 142

Showing error in Max 2024 version

threedstar · 2023-10-27

When run its showing error --Unknown property:"IncludeTarget" in undefined
--Line number: 142