EventInfo.Mute
 
 
 

EventInfo.Mute

Description

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.

C# Syntax

// get accessor
Boolean rtn = EventInfo.Mute;
// set accessor
EventInfo.Mute = Boolean;

Examples

VBScript Example

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