Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FBX Exporter FBXExporterSetParam "ConvertUnit" "cm"

1 REPLY 1
Reply
Message 1 of 2
Anonymous
672 Views, 1 Reply

FBX Exporter FBXExporterSetParam "ConvertUnit" "cm"

Hi,

 

I am working on a script to simplify our pipeline we have CAD files imported into 3DS Max in Meters and we wish to export it in FBX Centimeter for use in Unreal Engine 4. 

According to the documentation this is the way to accomplish this. This does not seem to work.

FBXExporterSetParam "ConvertUnit" "cm"

exportFile "C:\\test.fbx" #noprompt selectedOnly:false using:FBXEXP

The exporter instead is using the unit set in 

 

units.SystemType

 

A workaround is to scale all the objects by 100 and switch SystemType and export.

 

for obj in objects do obj.scale *= ([100, 100, 100])

units.SystemType = #Centimeters

exportFile "C:\\test2.fbx" #noprompt selectedOnly:false using:FBXEXP

Am I missing something?

 

Best regards,

Mikael

1 REPLY 1
Message 2 of 2
CNlover
in reply to: Anonymous

Same same happening here. Even with a same export preset file, the maxscript exported file do not containt the scale infomation.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report