*CE_ExportFiles

Export connectors to their original files in their original or specified format.

Syntax

*CE_ExportFiles mark_id ce_style option reserved1 reserved2 reserved3

Type

HyperMesh Tcl Modify

Description

This command exports selected connectors to their original files in original formats or specified format. The exported connectors file in XML format can be viewed either in an internet browser or in XML notepad. The ASCII or VIP format file can be viewed in any text viewer.

Inputs

mark_id
The ID of the mark containing the connectors to export. Valid values are 1 and 2.
ce_style
Filter the specific type of connector to exported. Valid values are:
  • all
  • spot
  • bolt
  • apply_mass
  • seam
  • area
option
Specifies the output format:
  • 0 – original format
  • 1 - ASCII
  • 3 - XML
  • 4 - VIP
  • 5 - XML 2.0
  • 6 - XML 2.0 (version A)
  • 7 - XML 2.0 (version B)
reserved1
Reserved for future use. Must be set to "".
reserved2
Reserved for future use. Must be set to 0.
reserved3
Reserved for future use. Must be set to 0.

Examples

To export all of the displayed connectors in XML format to their original files:
*createmark connectors 1 "displayed"
*CE_ExportFile 1 "all" 3 "" 0 0

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