*updateincludedata2
Updates include file solver specific information.
Syntax
*updateincludedata2 id shortname do_not_export_flag do_not_export solver1_flag solver1 solver2_flag solver2 merge_flag merge
Type
HyperMesh Tcl Modify Command
Description
Updates include file solver specific information.
The two solver values are for the convenience of template authors. They function in a manner analogous to "config" and "type" for elements, in that they can be used to screen out categories of include files from inappropriate sections in the template.
As an example, in Nastran, there are three sections in the output file, call them A, B, and C. Some include files need to appear in the A section, others in the B section, and the rest in the C section. In this case, solver1 is used to segregate them, with A files having the value 1, B files having the value 2, and C files having the value 3.
Inputs
- id
- The ID of the include file to update. If 0, shortname is used instead.
- shortname
- The short name to use to select the file if ID is 0. Ignored otherwise.
- do_not_export_flag
- 0 - Do not update the export state
- do_not_export
- 0 - Set the include to export
- solver1_flag
- 0 - Do not update solver value 1
- solver1
- The new value of solver value 1.
- solver2_flag
- 0 - Do not update solver value 2
- solver2
- The new value of solver value 2.
- merge_flag
- 0 - Do not update the merge value
- merge
- 0 - Do not merge include file with master file
Example
To change the include file with ID 1 to not export, and update solver1 to a value of 3:
*updateincludedata2 1 "" 1 0 1 3 0 0 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0