Re: Save at frame zero
Hello Olivier, It set frame to 0 and change to Default_Pass before save the scene. Just copy it to your plugins folder ;) You will see the new command in the File menu. Cheers, Miquel Miquel Campos www.akaosaru.com 2013/1/11 olivier jeannel olivier.jean...@noos.fr Hey gang, Out of curiousity, is there a script somewhere that would replace the save button, and that would save scene but at frame zero ? I'm in a case where, if I forgot to switch an integer to 0 (before saving), then the icetree (crowdFX) is corrupted when opening scene. (I'm overiding the Icematerial ID into the passes) For example, in my whishes I'd like XSI to do the following when I press save : Go to Start Frame, Switch to default pass Is it complicated ? OJ_SaveScenePlugin.py Description: Binary data
Re: Save at frame zero
Hi Olivier, this might also work via implementing *siOnBeginSceneSave *and * siOnBeginSceneSaveAs *events. That way you'd still be able to use the factory Save dialog as well as Ctrl-S... I haven't verified your specific case but I think this should work - worth giving it a shot! :) Cheers, Martin -- Martin Chatterjee [ Freelance Technical Director ] [ http://www.chatterjee.de ] [ https://vimeo.com/chatterjee ] On Fri, Jan 11, 2013 at 7:56 PM, Miquel Campos miquel.cam...@gmail.comwrote: Hello Olivier, It set frame to 0 and change to Default_Pass before save the scene. Just copy it to your plugins folder ;) You will see the new command in the File menu. Cheers, Miquel Miquel Campos www.akaosaru.com 2013/1/11 olivier jeannel olivier.jean...@noos.fr Hey gang, Out of curiousity, is there a script somewhere that would replace the save button, and that would save scene but at frame zero ? I'm in a case where, if I forgot to switch an integer to 0 (before saving), then the icetree (crowdFX) is corrupted when opening scene. (I'm overiding the Icematerial ID into the passes) For example, in my whishes I'd like XSI to do the following when I press save : Go to Start Frame, Switch to default pass Is it complicated ?
Re: Save at frame zero
Wow super ! 2 answers :) Thank you guys, should test it tomorrow or sunday ;) Le 11/01/2013 19:56, Miquel Campos a écrit : Hello Olivier, It set frame to 0 and change to Default_Pass before save the scene. Just copy it to your plugins folder ;) You will see the new command in the File menu. Cheers, Miquel Miquel Campos www.akaosaru.com http://www.akaosaru.com 2013/1/11 olivier jeannel olivier.jean...@noos.fr mailto:olivier.jean...@noos.fr Hey gang, Out of curiousity, is there a script somewhere that would replace the save button, and that would save scene but at frame zero ? I'm in a case where, if I forgot to switch an integer to 0 (before saving), then the icetree (crowdFX) is corrupted when opening scene. (I'm overiding the Icematerial ID into the passes) For example, in my whishes I'd like XSI to do the following when I press save : Go to Start Frame, Switch to default pass Is it complicated ?