*loadsupdate
Updates the magnitude, direction, and coordinate system of selected loads.
Syntax
*loadsupdate mark_id config type updatevector comp1 comp2 comp3 comp4 comp5 comp6 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
- mark_id
- The ID of the mark containing the loads to update.
- config
- The configuration of the load:
- 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.
- comp[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.
- 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.