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

Not applicable
06-17-2010
12:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
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.