Announcement

Collapse
No announcement yet.

looking for script to import the whole folder of 3ds models into the max scene

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • looking for script to import the whole folder of 3ds models into the max scene

    I'm looking for script to import the whole folder of 3ds models into the max scene.
    Anyone knows this kind of tool?
    Luke Szeflinski
    :: www.lukx.com cgi

  • #2
    Code:
    (
    	fn importEntireDir theDir wildStr =
    	(
    	setWaitCursor()
    	if theDir!=undefined then
    	(
    		local fname=theDir+"\\"+wildStr
    		local fArr=getFiles fname
    		if fArr.count!=0 then
    		(
    			for f in fArr do
    			(
    				try(
    					format "Importing: %\n" f
    					importFile f #noprompt
    				)catch( print "failure while importing the files")
    			)
    		)
    	)
    	setArrowCursor()
    	)
    
    	importEntireDir "C:\3dsmax08\export" "*.3ds"
    )
    edit the bottom line where it says ' importEntireDir "C:\3dsmax08\export" "*.3ds" ' to suit what/where you are looking to mass import.
    Dave Buchhofer. // Vsaiwrk

    Comment


    • #3
      Thank you kindly Dave
      Luke Szeflinski
      :: www.lukx.com cgi

      Comment

      Working...
      X