.. vale off :class:`DMGraphicsWrapper` ========================== .. py:class:: ansys.mechanical.stubs.v242.Ansys.ACT.Common.Graphics.DMGraphicsWrapper Bases: :py:obj:`object` Wrapper for Graphics in Design Modeler. .. !! processed by numpydoc !! .. py:currentmodule:: DMGraphicsWrapper Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :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. * - :py:attr:`~ExportScreenToImage` - Exports the current Graphics screen to a file. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~Scene` - Gets the scene. Property detail --------------- .. py:property:: Scene :no-index: :type: Optional[Ansys.ACT.Interfaces.Graphics.IGraphicsCollection] Gets the scene. .. !! processed by numpydoc !! Method detail ------------- .. 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 !! .. py:method:: ExportScreenToImage(filePath: System.String) -> System.Void :no-index: Exports the current Graphics screen to a file. .. !! processed by numpydoc !! .. vale on