*morphmaptshp
Adds a handle perturbation to the current temporary shape.
Syntax
*morphmaptshp hptr x y z clear sym con
Type
HyperMesh Tcl Modify
Description
Adds a handle perturbation to the current temporary shape.
Inputs
- hptr
- ID of handle.
- x
- x perturbation of handle
- y
- y perturbation of handle
- z
- z perturbation of handle
- clear
- 0 - Add perturbation
- sym
- 0 - Do not use symmetry (only option)
- con
- 1 - Use constraints (only option)
Example
*morphmaptshp (21,1.0,2.0,3.0,0,0,1)
This command is part of the map to geometry function which consists of multiple commands. This command is called any number of times, first with clear set to 1, then subsequently set to 0, followed either by one of the many *morphmapto…() commands. If clear is set to 2 then the last *morphmaptshp() command is rejected.
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}