*addnewmodel

Used by multiple models to add a new secondary model.

Syntax

*addnewmodel name ?read_only?

Type

HyperMesh Tcl Modify Command

Description

Used by multiple models to add a new secondary model. A new file can be loaded in this newly created secondary database.

Inputs

name
The unique name of the new model to add.
read_only
Optional argument that says whether the new model is read only (1) or editable (0, default).

Examples

To add a new secondary model named model-2:

*addnewmodel model-2

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.1 - Added new optional argument read_only.