*analysiscurvecreate
Creates a curve by extracting values from a results file.
Syntax
*analysiscurvecreate entity_type mark_id x_data_type y_data_type x_component y_component
Type
HyperMesh Tcl Modify
Description
Creates a curve by extracting values from a results file. The results file must be loaded before executing this command.
Inputs
- entity_type
- The type of entities on the mark.
- mark_id
- The ID of the mark that contains the entities. Valid values are 1 and 2.
- x_data_type
- The name of the x data type from which to extract data.
- y_data_type
- The name of the y data type from which to extract data.
- x_component
- The name of the x component to be extracted from the file if the x data type is
displacement. Valid values are:
- total
- x comp
- y comp
- z comp
- y_component
- The name of the y component to be extracted from the file if the y data type is
displacement. Valid values are:
- total
- x comp
- y comp
- z comp
Examples
To create a curve from the displacement results for node 12, starting with the simulation simulation1:
*analysisfileset C:/my_results/test.res
*createmark nodes 1 12
*analysiscurvecreate nodes 1 "displacements" "simulationid" "total" ""
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}