Property EventsToIgnore
EventsToIgnore
Suppresses the triggering of the the embedded plugin events associated with the object (use | sign to supply more than one event if necessary).
Declaration
public Scene.Object.EventType EventsToIgnore { get; set; }
Property Value
Type | Description |
---|---|
Scene.Object.EventType |
Remarks
Embedded plugin events are those that are attached to an
object via its block script with keywords @OnPlace
,
@OnChange
, etc.
This property is useful for example to prevent recursive triggering of OnChange event while plugin is modifying an object.
However, all the events should be enabled again at the end of the plugin function by setting the ignore mask to None.
By default, the mask of suppressed plugin events is set
automatically by the application according to its script. For
example if the object's script doesn't define any plugin
function for the @OnChange
event, it will be suppressed
in the returned event mask.