:class:`BeamPart` ================= .. py:class:: ansys.dyna.core.pre.dynabase.BeamPart(pid) Bases: :py:obj:`Part` Defines a beam part. A beam 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:: BeamPart Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~set_cross_type` - Set the type for the cross section. * - :py:attr:`~set_diameter` - Set the outer diameter for the cross section. * - :py:attr:`~set_property` - Set properties for the beam part. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~stub` - * - :py:attr:`~type` - * - :py:attr:`~crosstype` - Import detail ------------- .. code-block:: python from ansys.dyna.core.pre.dynabase import BeamPart Attribute detail ---------------- .. py:attribute:: stub .. py:attribute:: type :value: 'BEAM' .. py:attribute:: crosstype :value: 1 Method detail ------------- .. py:method:: set_cross_type(cross) Set the type for the cross section. .. !! processed by numpydoc !! .. py:method:: set_diameter(diameter) Set the outer diameter for the cross section. .. !! processed by numpydoc !! .. py:method:: set_property() Set properties for the beam part. .. !! processed by numpydoc !!