hm_getplanepanel

Provides a panel to define a plane.

Syntax

hm_getplanepanel ?message?

Type

HyperMesh Tcl GUI

Description

Provides a panel to define a plane. A list with two sublists is returned from this command when successfully executed: {{normal_x normal_y normal_z} {base_x base_y base_z}}

Inputs

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

Example

To get a plane definition from a user:

set plane [hm_getplanepanel "Please define a plane"]
foreach {nx ny nz} [lindex [lindex $plane 0] 0] {}
foreach {bx by bz} [lindex [lindex $plane 0] 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

12.0.110