Documentation Center

  • Trial Software
  • Product Updates

delete

Delete object

Syntax

thisObject.delete

Description

The delete method deletes this object from the model. This is true for all but objects of type Root, Chart, Clipboard, and Editor.

Arguments

thisObject

The object to delete. Can be an object of type Machine, State, Box, Function, Truth Table, Note, Transition, Junction, Data, Event, or Target.

Returns

None

Examples

If a state A is represented by the State object sA, the command sA.delete deletes state A.

Was this topic helpful?