Delta.Mute

Description

Sets or returns a Boolean value indicating whether the Delta is muted or not (true = muted; false = active).

Examples

JScript Example

/*
        This example demonstrates how to mute a Delta
*/
NewScene(null, false);
// Create a reference model from a cube
var oRoot = Application.ActiveProject.ActiveScene.Root;
var oCube = oRoot.AddGeometry("Cube", "MeshSurface");
var emdlFileRefModel = XSIUtils.BuildPath(Application.InstallationPath(siProjectPath), "Models", "MyModel.emdl"); 
CreateModelAndConvertToRef(oCube, emdlFileRefModel );
// Add the Delta object
var oDelta = AddDelta(oCube.Model);
// Get the first ActionDeltaItem of the first ActionDelta
oDelta.Mute = true;
// Print the name of the mute ActionDeltaItem
Application.LogMessage("muting " + oDelta.Name);
// Reload the reference model 
UpdateReferencedModel("Model");
// Output of above script:
//INFO : muting Delta

See Also

ActionDeltaItem.Mute