ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
I want to query the file name so that I can add a postfix then save it as a new name. But I can't seem to figure out how to cast the current working file name into a variable.
Comments
--this returns the filename
--this returns the filename of your current scene,
--if saved else it will return ""
maxFileName
-- this returns the path to this file
maxFilePath
--so
FullPathtoMyFile = (maxFilePath + maxFileName)
--should do the trick as long as you
--have saved your file somewhere
OgmaSoul3D
Anton Berg
anton[at]os3d.se
Thanks.. the maxscript ref
Thanks.. the maxscript ref file is very hard to get info from. I appreciate it.