*writeengineeringandcontroldata
Saves a binary file with the engineering and control data.
Syntax
*writeengineeringandcontroldata filename=<value> ?solvername=<value>? ?types={<value>}? ?controls=<value>? ?entities=<value>?
Type
HyperMesh Tcl Modify Command
Description
Saves a binary file with the engineering and control data. By default, it saves the control entities for all valid types (attachment, connector, engineering, mesh) without the corresponding entities.
Inputs
- filename=<value>
- The full file path of the file to write. If only a file name is provided, the HyperWorks start-in folder is used as the location for the saved file.
- solvername=<value>
- The option to specify which engineering and control data is saved based on the solver definition. If not specified, the data for all solver interfaces is saved by default.
- types={<value>}
- The list of types to be saved in the binary file. If the option is not provided, all valid types are saved by default. Valid values are attachment, connector, engineering, mesh and scenario.
- controls=<value>
- The option to export the control entities.
- entities=<value>
- The option to export the entities.
Examples
*writeengineeringandcontroldata filename=C:/temp/shatter10.hm types={engineering}
*writeengineeringandcontroldata filename=C:/temp/shatter10.hm types={connector attachment}
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022.2