QueryElementInfoData

class cee.ug.QueryElementInfoData()

Info about an element in a given frame


Properties

QueryElementInfoData.elementArea
Type:

number

The area of the element (if applicable)

QueryElementInfoData.elementCentroid
Type:

[number]

The centroid of the element.

QueryElementInfoData.elementId
Type:

number

The id of the element

QueryElementInfoData.elementIndex
Type:

number

The index of the element

QueryElementInfoData.elementNodes
Type:

[function]

Data for all element nodes

QueryElementInfoData.elementTriangleVertices
Type:

[number]

A tessellation of triangles of the element.

This array contains x,y,z values for each triangle vertex. So there will be 9 values (3 vertices * (x,y,z)) per triangle. This can be used to highlight the element using the geometry or the markup model.

QueryElementInfoData.elementType
Type:

string

The type of the element, for example ‘Quad’, ‘Tetrahedron’, ‘Hexahedron’

QueryElementInfoData.elementVolume
Type:

number

The volume of the element (if applicable)

QueryElementInfoData.frameIndex
Type:

number

The index of the frame

QueryElementInfoData.geometryIndex
Type:

number

The index of the CAE geometry. In almost all cases this will be 0

QueryElementInfoData.partId
Type:

number

The id of the part containing the element

QueryElementInfoData.scalarResult
Type:

number

The scalar value of the element.

QueryElementInfoData.stateId
Type:

number

The state id of the frame

QueryElementInfoData.vectorResultArr
Type:

[number]

The vector result(s) in the element. The array will contain 3 values (x,y,z) for each vector result.