*removemodel

Removes a secondary model.

Syntax

*removemodel name ?make_current?

Type

HyperMesh Tcl Modify Command

Description

Removes a secondary model.

Inputs

name
The name of the secondary model to remove.
make_current
The optional name of the model to make current if the current model is removed. If not specified, the primary model is made current (default).

Examples

To remove the secondary model named model-2:
*removemodel model-2
To remove the secondary model named model-2 and make model-3 as current:
*removemodel model-2 model-3

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2019

2020 - Added new option make_current.