HyperWorks Tools

::hwat::utils::CreateSectionCut

::hwat::utils::CreateSectionCut

Previous topic Next topic No expanding text in this topic  

::hwat::utils::CreateSectionCut

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::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 HM.

template

The location of the template.

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

ID of the section cut if successful and {} if not.

 

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.

 

Comments

xlocation, xmin, ymin, xmax, and ymax are needed only for the finite section cut.

 

See also

::hwat::core::CreateFiniteSectionCut

::hwat::core::CreateInfiniteSectionCut

Utils Functions