:class:`DiscretePart` ===================== .. py:class:: ansys.dyna.core.pre.dynabase.DiscretePart(pid) Bases: :py:obj:`Part` Defines a discrete part. The part definition consists of the combined material information, section properties, hourglass type, thermal properties, and a flag for part adaptivity. .. !! processed by numpydoc !! .. py:currentmodule:: DiscretePart Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~set_displacement_option` - Set the displacement, which defines the rotation. * - :py:attr:`~set_property` - Set properties for the discrete part. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~type` - * - :py:attr:`~stub` - * - :py:attr:`~displacement_option` - Import detail ------------- .. code-block:: python from ansys.dyna.core.pre.dynabase import DiscretePart Attribute detail ---------------- .. py:attribute:: type :value: 'DISCRETE' .. py:attribute:: stub .. py:attribute:: displacement_option :value: 0 Method detail ------------- .. py:method:: set_displacement_option(displacement_option=DRO.DESCRIBES_TRANSLATIONAL_SPRING) Set the displacement, which defines the rotation. .. !! processed by numpydoc !! .. py:method:: set_property() Set properties for the discrete part. .. !! processed by numpydoc !!