QuerySetItems

class cee.ug.QuerySetItems()

Query to get all the items in a given set

Constructors

Methods


Constructors

QuerySetItems.constructor(model)
Arguments:
Return type:

QuerySetItems

Accessors

QuerySetItems.getTesselationForFrameIndex()

Specify if a tessellation of the specified set should be returned for a given frame index.

Default is -1, which means no tesselation of the set will be provided.

For ELEMENT_FACE sets, it will return a triangulation of the combined element faces in the set in the QuerySetItemsItem.faceTriangleVertices array

For ELEMENT_EDGE sets, it will return the lines of the combined element edges in the set in the QuerySetItemsItem.edgeLineVertices array

For ELEMENT_NODE sets, it will return the lines of the combined element edges in the set in the QuerySetItemsItem.edgeLineVertices array

Return type:

number

QuerySetItems.getTesselationForFrameIndex(includeTriangles)
Arguments:
  • includeTriangles (number) – None

Return type:

void

Methods

executeQuery

QuerySetItems.executeQuery(setId, callback)
Arguments:

Gets the global position of the given node in the given frame(s).

Return type:

void