*restoreviewmask
Restores a view saved using *saveviewmask.
Syntax
*restoreviewmask view_name visible
Type
HyperMesh Tcl Modify Command
Description
Restores a view saved using *saveviewmask. The orientation and visible entities can be restored.
Inputs
- view_name
- The name of the view to restore.
- visible
- A flag indicating whether to restore the visible entities or not. Valid values are:
Example
To restore the view with the name "my_view", including the orientation and visible entities:
*restoreviewmask "my_view" 0
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}