*hf_ScaleBinderSurf
Scale the binder dimension. The binder is automatically identified.
Syntax
*hf_ScaleBinderSurf base_point_id scale_factor_x scale_factor_y scale_factor_z
Type
HyperMesh Tcl Modify
Description
This command increases and decreases the binder dimension. The binder is scaled relative to an origin node. The scaling can be uniform or not. If uniform scaling is requested, the scale factor in all directions should be set equal. Otherwise, it is possible to give different value to these factors in other to obtain a non-uniform scaling.
Inputs
- base_point_id
- The node ID to use as the base point for the scaling.
- scale_factor_x
- Scale factor in x.
- scale_factor_y
- Scale factor in y.
- scale_factor_z
- Scale factor in z.
Examples
To increase the binder dimension uniformly by a factor of 5 with respect to node ID
1434:
*hf_ScaleBinderSurf 1434 5 5 5
To decrease the binder dimension by a factor of 5 in the x, 10 in the y and 20 in the z
with respect to node ID
1434:
*hf_ScaleBinderSurf 1434 0.2 0.1 0.05
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