QueryGeometryStatistics

class cee.ug.QueryGeometryStatistics()

Query geometry statistics such as element counts by type

Constructors

Methods


Constructors

QueryGeometryStatistics.constructor(model)
Arguments:
Return type:

QueryGeometryStatistics

Methods

executeQuery

QueryGeometryStatistics.executeQuery(frameIndex, geometryIndex, partId, callback)
Arguments:
  • frameIndex (number) – The index of the frame to get statistics for. Must be a valid index, wildcard is not supported.

  • geometryIndex (number) – The index of the geometry to get statistics for. Specify -1 for all geometries.

  • partId (number) – The id of the part to get statistics for. Specify -1 for all parts.

  • callback (QueryGeometryStatisticsCallback) – Function getting called when the result is received from the server.

Executes the query for the given frame.

Return type:

void