Scripting/Macro Question (Newbie)


#1

This may seem like a very stupid question…but I need help anyway.

How would I go about writing a macro that simply saves a mesh and changes its name by increasing the number at the end.

I’ve programmed before, so I see the logic in my head (I could do ti in VB, C or Java :P) but I know nothing about the syntax that would be required for modo. I do not need someone to write it for me, just to explain a couple of commands. Any help would be appreicated.

thank you


#2

YEAH we all need that!! Incremental save is something all programs should have.


#3

Come on guys. Someone here has to know how to get this done.

Help me…please :frowning:


#4

A place to start would be to check the scripting docs for user values. You should be able to store a version number. They use the scene.saveAs command to save out a name with a number appended.


#5

Is there a place for me to send the name that I want to save as an arguement into the scene.saveAs command. Would it be:

scene.saveAs “version1”


#6

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.