PDA

View Full Version : current opened max file name ?


loran
06-30-2008, 03:53 PM
I want to export a w3d with the current opened max file name
I fail to. I just do that where I have to pick a max file to get its name:

exportfile ((getopenfilename filename) + ".w3d") #noPrompt

thx for help!

LoneRobot
06-30-2008, 04:06 PM
hi loran,


Fpath = maxFilePath
MsceneName = maxFileName
SFname = getFilenameFile MsceneName
exportfile ((Fpath+SFname) + ".w3d") #noPrompt

loran
06-30-2008, 05:07 PM
thx for help !

CGTalk Moderation
06-30-2008, 05:07 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.