*mechcontructfromedi
Creates objects needed for solving enabled mechanisms.
Syntax
*mechcontructfromedi mode param
Type
HyperMesh Tcl Modify Command
Description
Creates objects needed for solving enabled mechanisms, such as applying positions or moving bodies.
The mechanism must have the enabled flag set to true for this to be possible.
Inputs
- mode
- The mode for mechanism operations:
- position
- The position ID to use when mode is 2.
Examples
To setup mechanism with ID 1:
*mechcontructfromedi 0 0To apply position with ID 3 on mechanism with ID 1:
*mechcontructfromedi 2 3
*mechapplyediposition 1 0Errors
Incorrect usage results in a Tcl error. To detect
        errors, you can use the catch
        command:
    if { [ catch {command_name...} ] } {
   # Handle error
}Version History
14.0.120