::hwat::utils::CreateElement

Creates an element in HyperMesh.

Syntax

::hwat::utils::CreateElement config type nodelist

Arguments

config
The HyperMesh configuration of the element.
type
The type of the element, as defined in the currently loaded feoutput template.
nodelist
A Tcl list of nodes belonging to the element.

Returns

Success
The ID of the element
Failure
{}

Example

::hwat::utils::CreateElement 104 1 [list 1 2 3 4]