imat_elem/elemtype_i2n


Purpose

Return NASTRAN element type for given I-deas element type.

Syntax

ntype=imat_elem.elemtype_i2n(94)
ntype=imat_elem.elemtype_i2n(itype)

Description

ELEMTYPE_I2N returns a corresponding NASTRAN element type(s) for the supplied I-deas element type(s). IMAT_ELEM uses NASTRAN element type numbering, and results imported from Universal files use the I-deas element type numbering. This function can be useful for mapping between the two. Please note that in many cases an I-deas element type could map to more than one NASTRAN element type, and some I-deas element types do not have a corresponding NASTRAN element type.

ITYPE is a vector of I-deas element types.

NTYPE is a corresponding vector of NASTRAN element types, which are the IMAT element types. If there is no corresponding element type, NTYPE returns -1.

Note that since this is a static method of IMAT_ELEM, to call it you must prefix it with the class name, as in

>> imat_elem.elemtype_i2n(94)

See Also

imat_elem/elemtype_n2i