hm_getfilename

Get a filename using an open file dialog.

Syntax

hm_getfilename ?message? ?default_value?

Type

HyperMesh Tcl GUI Command

Description

This command returns a file name by providing you with an open file dialog.

Inputs

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

Example

set fname [hm_getfilename "Please select a file"]

Errors

None.

Version History

2017.1 - Added new optional default_value argument.