DMGraphicsWrapper
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Common.Graphics.DMGraphicsWrapper#
Bases:
object
Wrapper for Graphics in Design Modeler.
Overview#
|
Forces the scene to redraw its content. |
|
Prevents the scene to redraw until the Resume controller method was called. |
|
Forces the scene to resume. Useful in interactive context (console) if a reference on an |
|
Creates a point from pixel coordinates (ie. window coordinates). |
|
Create a point from world coordinates. |
|
Create a 3D vector from world coordinates. |
|
Exports the current Graphics screen to a file. |
|
Gets the scene. |
Property detail#
- property DMGraphicsWrapper.Scene: Ansys.ACT.Interfaces.Graphics.IGraphicsCollection | None
Gets the scene.
Method detail#
- DMGraphicsWrapper.Redraw() System.Void
Forces the scene to redraw its content.
- DMGraphicsWrapper.Suspend() Ansys.ACT.Interfaces.Graphics.ISuspendController
Prevents the scene to redraw until the Resume controller method was called.
- DMGraphicsWrapper.ForceResume() System.Void
Forces the scene to resume. Useful in interactive context (console) if a reference on an
operation has been lost.
- DMGraphicsWrapper.CreatePixelPoint(x: System.Int32, y: System.Int32) Ansys.ACT.Interfaces.Graphics.IPixelPoint
Creates a point from pixel coordinates (ie. window coordinates).
- DMGraphicsWrapper.CreateWorldPoint(x: System.Double, y: System.Double, z: System.Double) Ansys.ACT.Interfaces.Graphics.IWorldPoint
Create a point from world coordinates.
- DMGraphicsWrapper.CreateVector3D(x: System.Double, y: System.Double, z: System.Double) Ansys.ACT.Interfaces.Graphics.IVector3D
Create a 3D vector from world coordinates.
- DMGraphicsWrapper.ExportScreenToImage(filePath: System.String) System.Void
Exports the current Graphics screen to a file.