How to integrate user-defined SaveScene() into Maya?

How to integrate user-defined SaveScene() into Maya?

Anonymous
Not applicable
263 Views
0 Replies
Message 1 of 1

How to integrate user-defined SaveScene() into Maya?

Anonymous
Not applicable
Hi all,
I'm going to integrate a user-defined SaveScene() routine into Maya2009.
I think I have to replace the following 3 commands in Maya:
1.the command of the "Save Scene" MenuItem in "File"Menu,
2.the command of the SaveScene icon,
3.the command of the "Ctrl+S" short cut.

My question is:
1.If the source mel scripts of Maya2009 can't be modified, how can I register my SaveScene() to Maya to replace the original save scene routine?

I only know how to replace the command of the "Save Scene" MenuItem. Here is the answer(http://nccastaff.bournemouth.ac.uk/jmacey/RobTheBloke/www/research/maya/version_control.htm)
Even I replace the command of the "Save Scene" MenuItem with mySaveScene(), mySaveScene() is still can't be executed when I press the SaveScene icon or use "Ctrl+S".

2.If the source mel scripts of Maya2009 can be modified, how can I register my SaveScene() to Maya to replace the original save scene routine?

I prefer the first solution if it is possible.

Thank you.
0 Likes
264 Views
0 Replies
Replies (0)