*nodecreateonlines

Create nodes along lines, with optional biasing.

Syntax

*nodecreateonlines entity_type mark_id number bias_style bias_intensity

Type

HyperMesh Tcl Modify

Description

This command creates nodes or points at locations of intersection between two sets of input geometries. Only intersections between entities from different sets are calculated and are used to create nodes or points.

If there is overlap (continuous intersection) between the entities, the result is undefined. For example, finding the intersection of a surface edge to a parent surface is undefined and can return unexpected or varied results.

Inputs

entity_type
Must be set to lines.
mark_id
The ID of the mark containing the input lines. Valid values are 1 and 2.
number
The number of nodes to create.
bias_style
0 - Linear
1 - Exponential
2 - Bell curve
bias_intensity
The bias intensity value. A positive value indicates biasing along the line direction, while a negative value indicates biasing along the opposite direction. A value of 0 indicates no biasing.

Example

To create 5 nodes on lines 10, 11, 12, and 13 with linear biasing of 2.0:

*createmark lines1 10 11 12 13
*nodecreateonlines lines 1 5 1 2.0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}