*CE_ExportMasterConnectorsFile

Export the connector information to a master connectors file.

Syntax

*CE_ExportMasterConnectorsFile mark_id filename header_string with_md

Type

HyperMesh Tcl Modify

Description

This command exports selected connectors information into a master connectors file.

Inputs

mark_id
The ID of the mark containing the connectors to export. Valid values are 1 and 2.
filename
The full path and filename of the output file.
header_string
Optional string information to include in the header. It must start with a # or $ sign.
with_md
Indicates whether to write metadata information. Valid values are:
  • 0 - Metadata is not written
  • 1 - Metadata is written

Examples

To export all of the displayed connectors to a master connectors file named C:/ce_info.txt, including all metadata, with a header:
*createmark connectors 1 "displayed"
*CE_ExportMasterConnectorsFile 1 "C:/ce_info.txt" "#mcf file" 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}