QuerySetItems
- class cee.ug.QuerySetItems()
Query to get all the items in a given set
Constructors
Accessors
Methods
Constructors
constructor
- cee.ug.QuerySetItems.constructor(model)
- Arguments
model (
cee.ug.RemoteModel
) –
- Return type
cee.ug.QuerySetItems
Accessors
- cee.ug.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
Methods
executeQuery
- cee.ug.QuerySetItems.executeQuery(setId, callback)
Gets the global position of the given node in the given frame(s).
- Arguments
setId (
number
) – Id of the set to query items fromcallback (
cee.ug.QuerySetItemsCallback
) –
- Return type
void