RemoveActionItem

Introduced

6.0

Description

Removes one or more items from the specified action. When the list of items to remove is empty, all items are removed.

Scripting Syntax

RemoveActionItem( Source, [Name] )

Parameters

Parameter

Type

Description

Source

String

Action from which to remove items

Name

String

The list of the names for which items to remove (comma delimited)

Default Value: All items

Examples

JScript Example

/*
   Demonstrates how to use RemoveActionItem with two items as argument.
*/
NewScene(null, false);
CreatePrim("Cube", "MeshSurface");
var emdlFileRefModel = XSIUtils.BuildPath(
   Application.InstallationPath(siProjectPath), 
   "Models", "MyModel.emdl"); 
CreateModelAndConvertToRef("Cube", emdlFileRefModel);
Translate("Model.cube", 2.50, 1.34, 0.00, siRelative, siView, siObj, siXYZ, 
   null, null, null, null, null, null, null, null, null, 0, null);
RemoveActionItem("Model.Delta.StoredPositions", "cube.kine.local.posy,cube.kine.local.posz");

See Also

ActionDelta.RemoveAllItems

Delta.RemoveAction



Autodesk Softimage v7.5