# ::hwat::utils::CreateSectionCut

Creates a finite or an infinite section cut.

## Syntax

::hwat::utils::CreateSectionCut assemname sectionName template {startpnt} {endpnt}} distance type {xlocation} xmin ymin xmax ymax

## Arguments

assemname
Name of the assembly on which to create the section.
sectionName
Name to give the newly created group in HyperMesh.
template
The location of the template file.
startpnt
Tcl list of x, y, and z coordinates of the tail node of the normal vector.
endpnt
Tcl list of x, y, and z coordinates of the tip node of the normal vector.
distance
The distance from the tail node to the base point. Can be a percentage distance between the start and end points.
type
Finite or Infinite
Default: infinite
xlocation
Tcl list of x, y, and z coordinates of the node used to determine the local x axis (Finite section cuts only).
xmin
The minimum value of the local X axis (usually negative).
ymin
The minimum value of the local Y axis (usually negative).
xmax
The maximum value of the local X axis (usually positive).
ymax
The maximum value of the local Y axis (usually positive).

## Returns

Success
ID of the section cut
Failure
{}

## Example

CreateSectionCut MIDRAIL_L "SECTION1" "D:/Altair/feoutput/templates/ls-dyna/dyna.key."  [list 0.0 0.0 0.0] [list 0.0 0.0 1.0] 50% finite [list 0.0 1.0 0.0] -200.0 -100.0 200.0 100.0.