*createnodesbetweenpositions

Creates nodes between two geometric positions in space.

Syntax

*createnodesbetweenpositions x0 y0 z0 x1 y1 z1 count option systemid

Type

HyperMesh Tcl Modify Command

Description

Creates nodes between two geometric positions in space.

Inputs

x0
The x-coordinate of the start position.
y0
The y-coordinate of the start position.
z0
The z-coordinate of the start position.
x1
The x-coordinate of the end position.
y1
The y-coordinate of the end position.
z1
The z-coordinate of the end position.
count
The number of nodes to be created.
option
Determines if a node is created at the start and the end position.
0 - No node is created at either end.
1 - Create a node at the start position.
2 - Create a node at the end position.
3 – Create a node at both ends.
systemid
The ID of the local system in which the positions are defined. Use 0 for the global system.

Examples

To create 7 nodes between positions (1.89, 8.83, 8.84) and (8.68, 1.82, 1.83) defined in the global system without creating nodes at the start and end position:

*createnodesbetweenpositions 1.89 8.83 8.84 8.68 1.82 1.82 7 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

2022.3