Hi Alok,

You've misread. I'm trying to *detect* aborted events, not *cause* them.



On Mon, Nov 25, 2013 at 6:04 PM, Alok Gandhi <alok.gan...@modusfx.com>wrote:

>  Just return True to abort the event (False will make it run)
>
> On 11/25/2013 5:59 PM, Alan Fregtman wrote:
>
> It's not empty. Remember this is AFTER you've chosen to open a scene.
>
>  You told it to open a scene, picked a file, hit OK, it asked you to save
> your current (dirty) scene and you answered Cancel. You have aborted the
> opening of the scene, but the "begin" event triggered.
>
>
>
> On Mon, Nov 25, 2013 at 5:49 PM, Xavier <lapointe.xav...@gmail.com> wrote:
>
>>  Hey Alan,
>>
>>  
>> siOnBeginSceneOpen<http://download.autodesk.com/global/docs/softimage2012/en_us/sdkguide/si_om/siEventID.html#siOnBeginSceneOpen>
>>  has
>> an filename attribute. Can't you just check if it's empty when cancelled?
>> Sorry can't really test atm, just a thought.
>>
>>
>>  Cheers
>>
>>
>> On Tue, Nov 26, 2013 at 9:29 AM, Alan Fregtman 
>> <alan.fregt...@gmail.com>wrote:
>>
>>> OnBeginSceneOpen
>>
>>
>>
>>
>
>
> --
>
> ALOK
>
> GANDHI
>
> / directeur technique senior- senior technical director
>
> alok.gan...@modusfx.com
>
> T:
>
>
>
>
>
>
>
>
> *450 430-0010 x225 F: 450 430-0009 www.modusfx.com
> <http://www.modusfx.com>
> ---------------------------------------------------------------------------------------------
> MODUS FX 120 Rue Turgeon, Sainte-Therese (Quebec) CANADA J7E 3J1 Follow us
> on Facebook <http://www.facebook.com/ModusFX> & Twitter
> <https://twitter.com/Modusfx> *
>

Reply via email to