Oh, just to clarify:
in my experience the *siOnBeginSceneSaveAs *event fires BEFORE the actual
save but AFTER the user interaction with a fileBrowser dialog.
Cheers, Martin
--
Martin Chatterjee
[ Freelance Technical Director ]
[ http://www.chatterjee.de ]
[ https://vimeo.com/chatterjee ]
On Wed, Jan 30, 2013 at 1:53 PM, Martin Chatterjee <
[email protected]> wrote:
> Hmm, my guess is that this is not a bug.
>
> The siOnBeginSceneSaveAs event has access to the FilePath via the Context
> Attributes - and this FilePath can only be present AFTER the user
> interaction with the file browser.
>
> However I'd also love be able to catch/trap/replace the factory SaveAs
> command.
>
> Never thought of using OnBeginCommand - good call, I'll give that a try.
>
>
> Cheers, Martin
>
> --
> Martin Chatterjee
>
> [ Freelance Technical Director ]
> [ http://www.chatterjee.de ]
> [ https://vimeo.com/chatterjee ]
>
>
> On Wed, Jan 30, 2013 at 1:48 PM, Marc-Andre Belzile <
> [email protected]> wrote:
>
>> That's probably a bug. You could also set an OnBeginCommand event for the
>> SceneSaveAs command.
>>
>> -mab
>>
>> From: [email protected] [mailto:
>> [email protected]] On Behalf Of Gareth Bell
>> Sent: Wednesday, January 30, 2013 7:38 AM
>> To: [email protected]
>> Subject: siOnBeginSceneSaveAs
>>
>>
>>
>> Hi all,
>>
>> Is it possible to trigger an event as soon as the Save As is clicked like
>> with siOnBeginSceneSave - from my experience of using siOnBeginSceneSaveAs
>> it is triggered after the scene is saved.
>>
>> Basically I run a check for some information and then want a message box
>> to appear before the filebrowser dialog appears. As it currently stands it
>> will appear after the scene has been saved
>>
>> cheers
>>
>> g
>>
>
>