hm_getdirectionpanel

Provides a panel to define a direction/vector.

Syntax

hm_getdirectionpanel ?message?

Type

HyperMesh Tcl Query

Description

Provides a panel to define a direction/vector. A list with three values is returned from this command when successfully executed:

{dir_x dir_y dir_z}

Inputs

?message? (optional)
String to show in the status bar when entering the panel.

Example

To get a direction definition from a user:

set direction [hm_getdirectionpanel "Please define a direction"]
foreach {dx dy dz} [lindex $plane 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

12.0.110