*feoutput_select
Creates an ASCII export file of selected entities based on an output template.
Syntax
*feoutput_select export_template filename mark_id reserved1 reserved2
Type
HyperMesh Tcl Modify Command
Description
This command exports an ASCII analysis file of selected entities, formatted based on the specified export_template.
Only the selected entities are exported.
- assems
- contactsurfs
- loadsteps
- outputblocks
- sets
For example, if a set type is element, it will be exported whether or not its referenced elements are also selected. Note that individual entities must be marked. This command does not export any dependent or container entities. For example, elements will not be exported if either a component or a group is exported.
Inputs
- export_template
- The full path and filename of the export template to be used. Paths with spaces must be enclosed in quotes.
- filename
- The full path and filename of the output file. Paths with spaces must be enclosed in quotes.
- mark_id
- The mark ID containing the entities to output. Valid values are 1 and 2.
- reserved1
- Reserved for future use. Must be set to 0.
- reserved2
- Reserved for future use. Must be set to 0.
Example
*createmark elems 1 1-5
*feoutput_select $tmplFileName $outputFileName 1 0 0
*createmark nodes 1 "by component id" 1
*feoutput_select $tmplFileName $outputFileName 1 0 0
*createmark elems 1 "by component id" 1 2 3
*feoutput_select $tmplFileName $outputFileName 1 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}