PDA

View Full Version : Save currently open scene to location?


AtrusDni
05-31-2007, 01:56 AM
Hello everyone. I am trying to get my melscript to work correctly. Basically I want to change things in my scene, then run a script that saves the currently open scene and changes to a new location, under a new name. Any ideas?

isoparmB
05-31-2007, 04:51 AM
Try

file -rename "D:/newLocation/newFileName.ma";
file -save;

The folders have to already exist though. If they don't you'll have to do a sysFile -dir command to create them.

AtrusDni
05-31-2007, 05:01 PM
cool! thanks for the reply isoparmB!

CGTalk Moderation
05-31-2007, 05:01 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.