hm_getfloat

Get a floating point value using a HyperMesh panel.

Syntax

hm_getfloat ?caption? ?message? ?default_value?

Type

HyperMesh Tcl GUI

Description

This command returns a float value by providing you with a HyperMesh panel.

Inputs

?caption?
Optional caption to show when entering the panel.
?message?
Optional string to show in the status bar when entering the panel. caption must be specified to use this option.
?default_value?
Optional default float to set when entering the panel. message must be specified to use this option.

Example

set distance [hm_getfloat "Distance=" "Please specify a distance"]

Errors

None.

Version History

2017.1 - Added new optional default_value argument.