*desvarlinkupdate
Updates an existing design variable link.
Syntax
*desvarlinkupdate desvarids ndesvars desvarcoeffs ncoeffs name desvarid c0 cmult
Type
HyperMesh Tcl Modify
Description
Updates an existing design variable link.
Inputs
- desvarids
- The ID of the array containing the IDs of the independent design variables.
- ndesvars
- Number of independent design variables.
- desvarcoeffs
- The ID of the array containing the coefficients of the independent design variables.
- ncoeffs
- Number of coefficients (should be equal to ndesvars).
- name
- A user-defined name for the design variable link. Each design variable link should have a unique name.
- desvarid
- The ID of the dependent design variable.
- c0
- Constant term.
- cmult
- Constant multiplier.
Example
To update a design variable link "dvl1" with dependent design variable 5, independent
design variables 1 and 3 with coefficients of 1.8 and 2.9, a constant term of 1.1 and a
constant multiplier of
3.6:
*createarray(2) 1 3
*createdoublearray(2) 1.8 2.9
*desvarlinkupdate(1,2,1,2,"dvl1",5,1.1,3.6)
A *createarray() and *createdoublearray() are required to define the IDs and coefficients for the independent design variables.