*nodecreatelinemarkparams
Creates nodes or points at parametric locations on lines.
Syntax
*nodecreatelinemarkparams entity_type mark_id double_array number_of_doubles insert_count mode point_flag
Type
HyperMesh Tcl Modify Command
Description
Creates nodes or points at parametric locations on lines.
Inputs
- entity_type
- The type of input entity. Must be set to lines.
- mark_id
- The ID of the mark of input entities. Valid values are 1 and 2.
- double_array
- The ID of the double array that contains the parametric location values in the range 0 to 1. The double array is created using the *createdoublearray command. This should always be set to 1.
- number_of_doubles
- Integer indicating the size (number of doubles) in the double array created using *createdoublearray.
- insert_count
- The number of additional parametric values inserted between the values specified by double_array.
- mode
- Specifies how parameters specified in double_array are used. Valid values are:
- point_flag
- Specifies whether nodes or points are created. Valid values are:
Examples
To create nodes on all lines at arc length parametric values 0.2, 0.8 and
0.8:
*createmark lines 1 all
*createdoublearray 3 0.2 0.8 0.85
*nodecreateatlinemarkparams lines 1 1 3
To create 10 points on all lines using the line’s internal parameterization with parameters
equally distributed between 0 and
1:
*createmark lines 1 all
*createdoublearray 2 0 1
*nodecreateatlinemarkparams lines 1 1 2 8 1 1
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
2021