*convertinclude
Converts a regular include file into an include transform include file or vice versa.
Syntax
*convertinclude id shortname flag
Type
HyperMesh Tcl Modify Command
Description
Converts a regular include file into an include transform include file or vice versa.
Inputs
- id
- The include ID, or 0 to use shortname.
- shortname
- The short name of the include file. This can be empty if id is specified other than 0.
- flag
- 1 - Convert a regular include into an include transform include
Example
To convert regular include file with ID 10 into an include transform include file:
*convertinclude 10 "" 1
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.1