*movesubmodel

shortDescription

Syntax

*movesubmodel source_submodel_type source_filename

Type

HyperMesh Tcl Modify

Description

longDescription

Inputs

source_submodel_type
Use solversubmodel for a solver submodel or includefile for an include file.
source_filename
The name of the source file to move into the tree.
target_submodel_type
Use solversubmodel for a solver submodel or includefile for an include file.
target_filename
The name of the new target file.

Examples

To move the solver submodel with name Part1 to include file with name EngineInclude:

*movesubmodel "solversubmodels" "Part1" "includefiles" "EngineInclude"

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