.. role:: ts-api-decorator

####
Part
####

.. js:module:: cee.cug
   :noindex:

.. container:: ts-api-section

   .. js:class:: Part



.. container:: api-index-section

   .. rubric:: Accessors

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

   * :js:attr:`~cee.cug.Part.geometryIndex`
   * :js:attr:`~cee.cug.Part.highlight`
   * :js:attr:`~cee.cug.Part.id`
   * :js:attr:`~cee.cug.Part.index`
   * :js:attr:`~cee.cug.Part.name`
   * :js:attr:`~cee.cug.Part.surfaceMesh`
   * :js:attr:`~cee.cug.Part.visible`





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

Accessors
=========

.. container:: ts-api-section

   .. js:function:: Part.geometryIndex()



      The index of the geometry in which the part belongs


      :rtype: number



.. container:: ts-api-section

   .. js:function:: Part.highlight()



      Whether the part should be highlighted.


      :rtype: boolean

   .. js:function:: Part.highlight( highlight)

      :param highlight: None
      :type highlight: boolean


      :rtype: void



.. container:: ts-api-section

   .. js:function:: Part.id()



      The ID of the part within the given geometry


      :rtype: number



.. container:: ts-api-section

   .. js:function:: Part.index()



      The index of the part within the given geometry

      See also geometryIndex


      :rtype: number



.. container:: ts-api-section

   .. js:function:: Part.name()



      The name of the part


      :rtype: string



.. container:: ts-api-section

   .. js:function:: Part.surfaceMesh()



      Show the element mesh on the surface of the part


      :rtype: boolean

   .. js:function:: Part.surfaceMesh( mesh)

      :param mesh: None
      :type mesh: boolean


      :rtype: void



.. container:: ts-api-section

   .. js:function:: Part.visible()



      The visibility of the part


      :rtype: boolean

   .. js:function:: Part.visible( visible)

      :param visible: None
      :type visible: boolean


      :rtype: void



