QueryGeometryStatistics

class cee.ug.QueryGeometryStatistics()

Query geometry statistics such as element counts by type

Constructors

Methods


Constructors

constructor

cee.ug.QueryGeometryStatistics.constructor(model)
Arguments
Return type

cee.ug.QueryGeometryStatistics

Methods

executeQuery

cee.ug.QueryGeometryStatistics.executeQuery(frameIndex, geometryIndex, partId, callback)

Executes the query for the given frame.

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 (cee.ug.QueryGeometryStatisticsCallback) – Function getting called when the result is received from the server.

Return type

void