*saveviewmask

Saves the current view orientation and visible entities.

Syntax

*saveviewmask view_name visible

Type

HyperMesh Tcl Modify

Description

Saves the currently view orientation and visible entities. Views are stored in the database.

Inputs

view_name
The name of the view to save. The numbers 1-5 are reserved and cannot be used.
visible
A flag indicating whether to save the visible entities or not. Valid values are:
  • 0 - Save the visible entities and view orientation.
  • 1 - Save only the view orientation.

Example

To save a view with the visible entities, with the name "my_view":

*saveviewmask "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
}