-
Remove a MechanismCommand from the MechanismCommands collection.
- Parameters:
-
- iIndex
- The index or the name of the MechanismCommand to retrieve from the collection of MechanismCommands.
As a numerics, this index is the rank of the MechanismCommand in the collection.
The index of the first MechanismCommand in the collection is 1, and
the index of the last MechanismCommand is Count.
As a string, it is the name you assigned to the MechanismCommand.
- Returns:
- Nothing
- Example:
-
The following example removes the tenth MechanismCommand and the MechanismCommand named
CommandTwo from the TheCommands collection.
TheCommands.Remove(10)
TheCommands.Remove("CommandTwo")
Copyright © 2003, Dassault Systèmes. All rights reserved.