*loadsupdate

Updates the magnitude, direction, and coordinate system of selected loads.

Syntax

*loadsupdate mark config type updatevector component [1-6] updatemag magnitude update_system system_id transform_flag

Type

HyperMesh Tcl Modify Command

Description

Updates the magnitude, direction, and coordinate system of selected loads.

Inputs

markmask
ID of the mark containing the loads to update.
config
The configuration of the load:
1 - Force
2 - Moment
3 - Constraints
5 - Temperature
6 - Flux
8 - Velocity
9 - Acceleration
type
The type assigned to the load (as defined on the Load Types panel).
updatevector
A variable that controls if the direction of the load should be updated.
component[1-6]
Components of the load being applied. When applying a force, the active components are 1, 2, and 3, which represent a force x, y, and z-axis, respectively.
When applying a moment, the active components are also 1, 2, and 3, and represent the moment about the x, y, and z-axis, respectively.
For constraints, all of the components are active unless they are set equal to -999999.0.
All of the other components of the constraints are active in the respective directions. For pressures, the active components are 1, 2, and 3, which represent the x, y, and z-axis, respectively. To create a pressure that is normal to the element, set all components to zero.
updatemag
An integer variable that controls if the magnitude is updated.
magnitude
The new value of magnitude of the load.
update_system
A variable that controls if the system is updated.
system_id
The ID of the local system.
transform_flag
A simple integer variable that controls if the load is created in the local system.

Example

To update a force of 10 N along the y axis to a force of 20 N along the y axis:

*createmark loads 1 4
*loadsupdate 1 1 1 0 0 1 0 0 0 0 1 20 0 0 1 

*loadsupdate() is the update command for all loads.

Errors

None.