*linecreatefromnodesonsurface
Create a line on a surface from nodes or points on the surface.
Syntax
*linecreatefromnodesonsurface surf_type surf_id point_type point_list curve_type options
Type
HyperMesh Tcl Modify
Description
This command creates a line that lines on a surface by interpolating input points on that surface. If some of the input points do not reside on the same surface, then the location closest to those points on the surface point are used.
Inputs
- surf_type
- Input surface type. Valid values are surfs of faces.
- surf_id
- Input surface ID value.
- point_type
- Type of entities representing input points. Valid values are nodes or points.
- point_list
- List ID of the input points or nodes. A minimum of 2 points or nodes must be selected.
- curve_type
- Type of created curve. Valid values are:
- options
- Flags that indicate different modes. Bit values are used and the value is calculated as (Bit0 + 2*Bit1).
Example
To create a spline that interpolates nodes 11, 12 and 13 on surface 10:
*createlist nodes 1 11 12 13
*linecreatefromnodesonsurface surfs 10 nodes 1 1 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