Returns a Boolean value indicating whether the event is disabled or enabled. You can mute an event by setting this property to true, all event sinks connected to a muted event are simply ignored by Softimage when this event is fired.
on error resume next
Application.Advise "OnBeginSceneSave","C:\MyEventHandler.vbs",,,"ABCSaveSceneEvent"
set info = Application.EventInfos("ABCSaveSceneEvent")
' disable the scene save event
info.Mute = True
SaveScene
' enable the event
info.Mute = False
|