*hf_TranslateBinderSurf
Translate the binder along an axis in space. The binder is automatically identified.
Syntax
*hf_TranslateBinderSurf plane distance
Type
HyperMesh Tcl Modify
Description
This command translates the binder along an axis. The direction of translation is given by the plane/vector plane and the magnitude of translation is given by distance.
Inputs
- plane
- The temporary plane/vector ID created using the *createplane command.
- distance
- Translation distance.
Examples
To translate the binder along the z-axis with magnitude
50:
*createplane 1 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000
*hf_TranslateBinderSurf 1 50
To translate the binder along the x-axis with magnitude
-50:
*createplane 1 1.0000 0.0000 0.0000 0.0000 0.0000 0.0000
*hf_TranslateBinderSurf 1 -50
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0