.. vale off :class:`MechanicalGraphicsWrapper` ================================== .. py:class:: ansys.mechanical.stubs.v242.Ansys.ACT.Common.Graphics.MechanicalGraphicsWrapper Bases: :py:obj:`object` Wrapper for Graphics in Mechanical. .. !! processed by numpydoc !! .. py:currentmodule:: MechanicalGraphicsWrapper Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~ExportScreenToImage` - ExportScreenToImage method. * - :py:attr:`~ExportImage` - Exports the current graphics display to a 2D image file. * - :py:attr:`~ExportViewports` - Creates a composite of images exported from each open viewport. * - :py:attr:`~Export3D` - Exports the current Graphics display in a 3d format to a file. * - :py:attr:`~Redraw` - Forces the scene to redraw its content. * - :py:attr:`~Suspend` - Prevents the scene to redraw until the Resume controller method was called. * - :py:attr:`~ForceResume` - Forces the scene to resume. Useful in interactive context (console) if a reference on an * - :py:attr:`~CreatePixelPoint` - Creates a point from pixel coordinates (ie. window coordinates). * - :py:attr:`~CreateWorldPoint` - Create a point from world coordinates. * - :py:attr:`~CreateVector3D` - Create a 3D vector from world coordinates. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~Unit` - Gets the current graphics unit. * - :py:attr:`~ModelViewManager` - An instance of the ModelViewManager. * - :py:attr:`~KeyframeAnimationUtility` - A utility for creating animations based on keyframes. * - :py:attr:`~ResultAnimationOptions` - Gets the Global Result Animation options. * - :py:attr:`~SectionPlanes` - Returns the collection of section planes used by graphics * - :py:attr:`~ViewOptions` - Gets the Graphics View Options. * - :py:attr:`~GlobalLegendSettings` - Gets the Global Graphics Legend Settings. * - :py:attr:`~Camera` - Gets the camera. * - :py:attr:`~Scene` - Gets the scene. Property detail --------------- .. py:property:: Unit :no-index: :type: Optional[System.String] Gets the current graphics unit. .. !! processed by numpydoc !! .. py:property:: ModelViewManager :no-index: :type: Optional[Ansys.ACT.Interfaces.Graphics.IModelViewManager] An instance of the ModelViewManager. .. !! processed by numpydoc !! .. py:property:: KeyframeAnimationUtility :no-index: :type: Optional[Ansys.ACT.Common.Graphics.KeyframeAnimationUtility] A utility for creating animations based on keyframes. .. !! processed by numpydoc !! .. py:property:: ResultAnimationOptions :no-index: :type: Optional[Ansys.Mechanical.Graphics.ResultAnimationOptions] Gets the Global Result Animation options. .. !! processed by numpydoc !! .. py:property:: SectionPlanes :no-index: :type: Optional[Ansys.Mechanical.Graphics.SectionPlanes] Returns the collection of section planes used by graphics .. !! processed by numpydoc !! .. py:property:: ViewOptions :no-index: :type: Optional[Ansys.Mechanical.Graphics.ViewOptions] Gets the Graphics View Options. .. !! processed by numpydoc !! .. py:property:: GlobalLegendSettings :no-index: :type: Optional[Ansys.Mechanical.Graphics.GlobalLegendSettings] Gets the Global Graphics Legend Settings. .. !! processed by numpydoc !! .. py:property:: Camera :no-index: :type: Optional[Ansys.ACT.Common.Graphics.MechanicalCameraWrapper] Gets the camera. .. !! processed by numpydoc !! .. py:property:: Scene :no-index: :type: Optional[Ansys.ACT.Interfaces.Graphics.IGraphicsCollection] Gets the scene. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: ExportScreenToImage(filePath: System.String) -> System.Void :no-index: ExportScreenToImage method. .. !! processed by numpydoc !! .. py:method:: ExportImage(filePath: System.String, formatImage: Ansys.Mechanical.DataModel.Enums.GraphicsImageExportFormat, settings: Ansys.Mechanical.Graphics.GraphicsImageExportSettings) -> System.Void :no-index: Exports the current graphics display to a 2D image file. .. !! processed by numpydoc !! .. py:method:: ExportViewports(filePath: System.String, format: Ansys.Mechanical.DataModel.Enums.GraphicsImageExportFormat, settings: Ansys.Mechanical.Graphics.GraphicsViewportsExportSettings) -> System.Void :no-index: Creates a composite of images exported from each open viewport. .. !! processed by numpydoc !! .. py:method:: Export3D(filePath: System.String, format3d: Ansys.Mechanical.DataModel.Enums.Graphics3DExportFormat, settings: Ansys.Mechanical.Graphics.Graphics3DExportSettings) -> System.Void :no-index: Exports the current Graphics display in a 3d format to a file. .. !! processed by numpydoc !! .. py:method:: Redraw() -> System.Void :no-index: Forces the scene to redraw its content. .. !! processed by numpydoc !! .. py:method:: Suspend() -> Ansys.ACT.Interfaces.Graphics.ISuspendController :no-index: Prevents the scene to redraw until the Resume controller method was called. .. !! processed by numpydoc !! .. py:method:: ForceResume() -> System.Void :no-index: .. code-block:: text Forces the scene to resume. Useful in interactive context (console) if a reference on an operation has been lost. .. !! processed by numpydoc !! .. py:method:: CreatePixelPoint(x: System.Int32, y: System.Int32) -> Ansys.ACT.Interfaces.Graphics.IPixelPoint :no-index: Creates a point from pixel coordinates (ie. window coordinates). .. !! processed by numpydoc !! .. py:method:: CreateWorldPoint(x: System.Double, y: System.Double, z: System.Double) -> Ansys.ACT.Interfaces.Graphics.IWorldPoint :no-index: Create a point from world coordinates. .. !! processed by numpydoc !! .. py:method:: CreateVector3D(x: System.Double, y: System.Double, z: System.Double) -> Ansys.ACT.Interfaces.Graphics.IVector3D :no-index: Create a 3D vector from world coordinates. .. !! processed by numpydoc !! .. vale on