*surfacesplinefrompoints
Creates a spline surface using selected nodes or points as boundary conditions.
Syntax
*surfacesplinefrompoints entity_type mark_id options
Type
HyperMesh Tcl Modify
Description
Creates a spline surface using selected nodes or points as boundary conditions.
Inputs
- entity_type
- The type of entity to use as input. Valid values are nodes and points.
- mark_id
- The ID of the mark containing the input entities. Valid values are 1 and 2.
- options
- Specifies options for creating the surface. Bit values are used and the value is
calculated as (Bit0 + 2*Bit1 + 4*Bit2)
- Bit0
- Surface trim mode
- 0 - Trim by parametric rectangle.
- 1 - Trim by points boundary.
- Bit2
- Mesh stitching. Used to control the connectivity of the mesh created on the new
spline surface in simultaneous meshing modes.
- 0 - New mesh is not connected.
- 1 - If *surfacemode is set to 1, existing mesh nodes are used if new spline edges are stitched to those lines.
Example
To build a spline from the displayed points and do not connect mesh:
*surfacemode 1
*createmark points 1 "displayed"
*surfacesplinefrompoints points 1 0
To build a spline from the displayed points and do not connect mesh:
*surfacemode 1
*createmark points 1 "displayed"
*surfacesplinefrompoints points 1 4
Errors
if { [ catch {command_name...} ] } {
# Handle error
}