hm_writeviewcommands
Sets the state of writing certain view commands to the command file.
Syntax
hm_writeviewcommands mode
Type
HyperMesh Tcl Query
Description
Sets the state of writing certain view commands to the command file. The following commands are affected:
- *rotateabout
- *view
- *view_restoreprevious
- *viewset
- *window
Inputs
- mode
- 0 - Do not write these commands to the command file
Example
To disable writing the view commands to the command file:
hm_writeviewcommands 0
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
14.0