*applyresults
Modifies node coordinates by applying displacements from a .res file.
Syntax
*applyresults entity_type mark_id scale component
Type
HyperMesh Tcl Modify Command
Description
Provides a yes/no/yes to all answer to the previous command. This is only useful for command files.
Inputs
- entity_type
- The entity type to apply the results to. Valid values are nodes, elems and comps.
- mark_id
- The ID of the mark containing the entities to apply the results to. Valid values are 1 and 2.
- scale
- The scale factor to use for the displacements.
- component
- The string that identifies the component to use for the displacements. Valid values are:
Examples
To apply displacement results from Subcase 1 in the .res file model.res using component total disp to all displayed nodes:
*analysisfileset "model.res"
*inputsimulation "Subcase 1" "displacements"
*createmark nodes 1 displayed
*applyresults nodes 1 1.0 "total disp"
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}