*surfacesplitwithcoords

Splits a surface with a line created between using coordinates.

Syntax

*surfacesplitwithcoords surf_id x1 y1 z1 x2 y2 z2

Type

HyperMesh Tcl Modify Command

Description

This command splits an input surface using a line created between points specified by input coordinates. The points specified by the input coordinates are expected to be in close proximity to the input surface.

Inputs

surf_id
The ID of surface to be split.
x1 y1 z1
Coordinates of the first point.
x2 y2 z2
Coordinates of the second point.

Example

To split the surface with ID 12 using a line between points specified by coordinates (1, 2, 3) and (4, 5, 6):

*surfacesplitwithcoords 12 1 2 3 4 5 6

Errors

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