*nodecreateatsurfparams

Create nodes or points at parametric locations on a surface.

Syntax

*nodecreateatsurfparams surf_type surf_id u1 u2 ucount v1 v2 vcount mode point_flag

Type

HyperMesh Tcl Modify Command

Description

This command creates nodes or points at points on given surface for given parametric values.

Inputs

surf_type
Input surface type. Valid values are surfs or faces.
surf_id
Input surface ID value.
u1
The lower bound of U parametric range. Must be within the range 0 to 1.
u2
The upper bound of U parametric range. Must be within the range 0 to 1.
ucount
The number of nodes to create in U parametric direction. Must be ≥ 1. If the value is 1, then u1 is taken as U parametric value for created node.
v1
The lower bound of V parametric range. Must be within the range 0 to 1.
v2
The upper bound of V parametric range. Must be within the range 0 to 1.
vcount
The number of nodes to create in V parametric direction. Must be ≥ 1. If the value is 1, then v1 is taken as V parametric value for created node.
mode
Specifies whether parameters are used relative to untrimmed surface parametric area or valid parametric area is scaled to visible region. Also used to specify whether created points must reside inside visible trimmed surface area. Valid values are:
0 - Untrimmed surface parametric area is used. Created nodes must be inside visible surface area.
1 - Surface parametric area is scaled to visible surface area. Created nodes must be inside visible surface area.
2 - Untrimmed surface parametric area is used. Created nodes can be outside visible surface area.
3 - Surface parametric area is scaled to visible surface area. Created nodes can be outside visible surface area.
point_flag
Parameter specifying whether nodes or points are created. Valid values are:
0 - Create nodes (default)
1 - Create points

Example

To create 12 nodes (3 nodes in U, 4 nodes in V) on surface 11 between the U locations 0.5 and 0.75, and the V locations 0.1 and 0.3:

*nodecreateatsurfparams surfs 11 0.5 0.75 3 0.1 0.3 4 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

10.0