hm_ce_read_mcf
Begins the process of reading a master connector file.
Syntax
hm_ce_read_mcf mcf_file
Type
HyperMesh Tcl Query
Description
Begins the process of reading a master connector file. Must be followed by a call to hm_ce_close_mcf.
Inputs
- mcf_name
- The full file path and name of the .mcf file, enclosed in quotes.
Example
Open test.mcf to read all the data and close the file when finished:
hm_ce_read_mcf "C:/doc/test.mcf"
set get_all_data [hm_ce_mcf_getalldata]
hm_ce_close_mcf
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}