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 <[email protected]>wrote:
> 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 <[email protected]>
>
>> 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 ?
>>
>>
>>
>>
>