*modent_export
Exports a modular entity and its contents using the currently loaded solver template.
Syntax
*modent_export entity_type entity_id file_name options
Type
HyperMesh Tcl Modify Command
Description
Exports a modular entity and its contents using the currently loaded solver template.
Inputs
- entity_type
- Type of modular entity to export. Currently only supported for subsystems.
- entity_id
- ID of the modular entity.
- file_name
- Full path and file name of the file to export.
- options
- Optional list of quoted, comma separated option strings.
- exporttype=<value>
- The type of exported file:
Examples
Export the contents of subsystem 2 into an LS-DYNA deck named
"C:/export/Subsystem2_Crash5mm.k":
*modent_export subsystems 2 "C:/export/Subsystem2_Crash5mm.k"
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
2020