*sizedesvarsupdate
Updates a size design variable
Syntax
*sizedesvarsupdate name upper_bound initial_value lower_bound delxv
Type
HyperMesh Tcl Modify
Description
This command updates a size design variable.
Inputs
- name
- The name of the size design variable to update.
- upper_bound
- The upper bound to use.
- initial_value
- The upper bound to use.
- lower_bound
- The lower bound to use.
- delxv
- The move limit of the desgin variable. A value of -1 indicates to use the "move limit default".
Example
To update a size design variable "dv1" with an upper bound of 3.0, lower bound of 1.8, an initial value of 2.2, and a move limit of 0.7:
*sizedesvarsupdate "dv1" 3.0 2.2 1.8 0.7
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}