QueryGeometryStatistics

class cee.ug.QueryGeometryStatistics()

Query geometry statistics such as element counts by type

Index

Constructors

Methods

Constructors

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

Parameters

Returns: QueryGeometryStatistics

Methods

cee.ug.QueryGeometryStatistics.executeQuery()
executeQuery(frameIndex: number, geometryIndex: number, partId: number, callback: QueryGeometryStatisticsCallback): void

Executes the query for the given frame.

Parameters

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.

Returns: void