*linecreatecircle
Creates a circle line from points or center and radius.
Syntax
*linecreatecircle method=<value> <option1>=<value1> <option2>=<value2> ... <optionN>=<valueN>
Type
HyperMesh Tcl Modify Command
Description
This command creates a circle line from points or center and radius.
Inputs
- method=<value>
- The method of creating the circle.
- centerpt=<value>
- The coordinates of the circle center. Valid for method=center.
- radius=<value>
- The radius of the circle. Valid for method=center.
- normal=<value>
- The vector x, y, z components defining the normal of the circle. Valid for method=center.
- angle=<value>
- The circle angle in degrees. Default is 360. Valid for method=center.
- offset=<value>
- The circle offset value. Default is 0.0. Valid for method=center.
- coordlist=<value>
- The x, y, z coordinates defining three points in space. Valid for method=points.
- closed=<value>
- The flag defining if a closed circle is created (0 – No, 1 – Yes). Valid for method=points.
Examples
To create a circle using the “center” method:
*linecreatecircle method=center "centerpt= -0.2 0.1 0.0" "normal= 0 0 1" radius=0.64 angle=360 offset=0
To create a circle using the “points” method:
*linecreatecircle method=points "coordlist=1.12 0.42 0.0 0.91 -0.4 0.0 1.82 -0.49 0.0"
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
2026