Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 28-03-2006, 11:08 AM   #1
ade90054
Registered User
 
ade90054's Avatar
 
Join Date: Oct 2002
Location: England
Posts: 143
Thanks: 0
Thanked 0 Times in 0 Posts
Default saving as COPY????

Hi all,

Does anybody know of a way to do a "save as copy" much like photoshop does, I want to be able to save my current scene out as a differnt name (like a temp scene name) but remain in the scene i'm actually working in, then when i'm happy with everything I can commit to saving with the final scene name.

Any help would be great, cheers

Jim
__________________
"1.21 GIGAWATTS"
ade90054 is offline   Reply With Quote
Old 29-03-2006, 09:30 AM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

I just knocked this up for you. You could always look into maya's own incremental save options aswell.


A

global proc string saveTmpFile()
{
string $currentname = `file -q -exn`;
//have some way of creating a temp name here incremental would be better
int $rnd = rand(1000, 9999);
string $tempName = `substitute "\.ma" $currentname ("_" + $rnd + "_tmp.ma")`;

//save as the neew temp name
file -rename $tempName;
file -f -save -options "v=0" -type "mayaAscii";

//rename back to our initial name
file -rename $currentname;

return($tempName);
}
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.