.. role:: ts-api-decorator

#######################
QueryGeometryStatistics
#######################

.. js:module:: cee.ug
   :noindex:

.. container:: ts-api-section

   .. js:class:: QueryGeometryStatistics

      Query geometry statistics such as element counts by type



.. container:: api-index-section

   .. rubric:: Constructors

   .. rst-class:: api-index-list-item api-kind-constructor api-parent-kind-class

   * :js:meth:`~cee.ug.QueryGeometryStatistics.constructor`



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-class

   * :js:meth:`~cee.ug.QueryGeometryStatistics.executeQuery`





------------

Constructors
============

.. container:: ts-api-section

   .. js:function:: QueryGeometryStatistics.constructor( model)

      :param model: None
      :type model: RemoteModel


      :rtype: QueryGeometryStatistics



Methods
=======

.. rst-class:: ts-api-section

executeQuery
------------

.. js:method:: QueryGeometryStatistics.executeQuery( frameIndex, geometryIndex, partId, callback)

   :param frameIndex: The index of the frame to get statistics for. Must be a valid index, wildcard is not supported.
   :type frameIndex: number
   :param geometryIndex: The index of the geometry to get statistics for. Specify -1 for all geometries.
   :type geometryIndex: number
   :param partId: The id of the part to get statistics for. Specify -1 for all parts.
   :type partId: number
   :param callback: Function getting called when the result is received from the server.
   :type callback: QueryGeometryStatisticsCallback


   Executes the query for the given frame.


   :rtype: void

