If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
New! You can now log in to the forums with your chaos.com account as well as your forum account.
Announcement
Collapse
No announcement yet.
looking for script to import the whole folder of 3ds models into the max scene
(
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.
Comment