QuerySetItems

class cee.ug.QuerySetItems()

Query to get all the items in a given set

Index

Constructors

Accessors

Methods

Constructors

cee.ug.QuerySetItems.constructor()
QuerySetItems(model: RemoteModel): QuerySetItems

Parameters

Returns: QuerySetItems

Accessors

cee.ug.QuerySetItems.getTesselationForFrameIndex()
get getTesselationForFrameIndex(): number

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

Returns: number

set getTesselationForFrameIndex(includeTriangles: number): void

Parameters

includeTriangles: number

Returns: void

Methods

cee.ug.QuerySetItems.executeQuery()
executeQuery(setId: number, callback: QuerySetItemsCallback): void

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

Parameters

setId: number

Id of the set to query items from

callback: QuerySetItemsCallback

Returns: void