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