AddDelta

Introduced

v6.0

Description

Adds an empty delta to a given referenced model.

Scripting Syntax

oReturn = AddDelta( Model );

Return Value

ProjectItem

Parameters

Parameter Type Description
Model String Indicate for which model the delta will be added. Note that deltas are always nested under the referenced model head, which is the topmost referenced model.

Default Value: Current model

Examples

JScript Example

/*

	This example demonstrates how to a delta to a referenced model using AddDelta

*/

// Create a referenced model

NewScene( null, false );

var obj = CreatePrim( "Cube", "MeshSurface" );

CreateModelAndConvertToRef();

AddDelta();

See Also

Delta ConvertToRefModel MakeModelLocal