Export from 3ds Max to file type fbx and obj

Export from 3ds Max to file type fbx and obj

Anonymous
Not applicable
567 Views
1 Reply
Message 1 of 2

Export from 3ds Max to file type fbx and obj

Anonymous
Not applicable

When I try to export my 3ds max file to fbx or obj file types it says it doesn't know how to? I checked my plug- in and they are loaded.

0 Likes
568 Views
1 Reply
Reply (1)
Message 2 of 2

blakestone
Collaborator
Collaborator

Here is some working code to export to 3DS, OBJ, FBX - simply change the export value to 1,2,3 and run the script.
If you receive any errors messages please post those errors.

 

(
	local export = 1		-- Change Value here (1=3DS || 2=OBJ || 3=FBX)
	
	local folder = "c:\\export_files\\"
	local filename = "scene"
	local filetypes = #(
		".3DS",
		".OBJ",
		".FBX"
	)
	local maxtypes = #(
		"3D_Studio", 
		"Wavefront_Object",
		"FBXIMP"
	)

	if not doesFileExist folder then makeDir folder
	exportFile (folder + filename + filetypes[export]) #noPrompt selectedOnly:false using:maxtypes[export]
)
--------------------------------------------------------------------------------------
Technical 3D Graphic Artist
Autodesk 3dsMax 2015 - Service Pack 4
--------------------------------------------------------------------------------------
0 Likes