MechanicalGraphicsWrapper
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Common.Graphics.MechanicalGraphicsWrapper#
Bases:
object
Wrapper for Graphics in Mechanical.
Overview#
|
ExportScreenToImage method. |
|
Exports the current graphics display to a 2D image file. |
|
Creates a composite of images exported from each open viewport. |
|
Exports the current Graphics display in a 3d format to a file. |
|
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. |
|
Gets the current graphics unit. |
|
An instance of the ModelViewManager. |
|
A utility for creating animations based on keyframes. |
|
Gets the Global Result Animation options. |
|
Returns the collection of section planes used by graphics |
|
Gets the Graphics View Options. |
|
Gets the Global Graphics Legend Settings. |
|
Gets the camera. |
|
Gets the scene. |
Property detail#
- property MechanicalGraphicsWrapper.Unit: System.String | None
Gets the current graphics unit.
- property MechanicalGraphicsWrapper.ModelViewManager: Ansys.ACT.Interfaces.Graphics.IModelViewManager | None
An instance of the ModelViewManager.
- property MechanicalGraphicsWrapper.KeyframeAnimationUtility: Ansys.ACT.Common.Graphics.KeyframeAnimationUtility | None
A utility for creating animations based on keyframes.
- property MechanicalGraphicsWrapper.ResultAnimationOptions: Ansys.Mechanical.Graphics.ResultAnimationOptions | None
Gets the Global Result Animation options.
- property MechanicalGraphicsWrapper.SectionPlanes: Ansys.Mechanical.Graphics.SectionPlanes | None
Returns the collection of section planes used by graphics
- property MechanicalGraphicsWrapper.ViewOptions: Ansys.Mechanical.Graphics.ViewOptions | None
Gets the Graphics View Options.
- property MechanicalGraphicsWrapper.GlobalLegendSettings: Ansys.Mechanical.Graphics.GlobalLegendSettings | None
Gets the Global Graphics Legend Settings.
- property MechanicalGraphicsWrapper.Camera: Ansys.ACT.Common.Graphics.MechanicalCameraWrapper | None
Gets the camera.
- property MechanicalGraphicsWrapper.Scene: Ansys.ACT.Interfaces.Graphics.IGraphicsCollection | None
Gets the scene.
Method detail#
- MechanicalGraphicsWrapper.ExportScreenToImage(filePath: System.String) System.Void
ExportScreenToImage method.
- MechanicalGraphicsWrapper.ExportImage(filePath: System.String, formatImage: Ansys.Mechanical.DataModel.Enums.GraphicsImageExportFormat, settings: Ansys.Mechanical.Graphics.GraphicsImageExportSettings) System.Void
Exports the current graphics display to a 2D image file.
- MechanicalGraphicsWrapper.ExportViewports(filePath: System.String, format: Ansys.Mechanical.DataModel.Enums.GraphicsImageExportFormat, settings: Ansys.Mechanical.Graphics.GraphicsViewportsExportSettings) System.Void
Creates a composite of images exported from each open viewport.
- MechanicalGraphicsWrapper.Export3D(filePath: System.String, format3d: Ansys.Mechanical.DataModel.Enums.Graphics3DExportFormat, settings: Ansys.Mechanical.Graphics.Graphics3DExportSettings) System.Void
Exports the current Graphics display in a 3d format to a file.
- MechanicalGraphicsWrapper.Redraw() System.Void
Forces the scene to redraw its content.
- MechanicalGraphicsWrapper.Suspend() Ansys.ACT.Interfaces.Graphics.ISuspendController
Prevents the scene to redraw until the Resume controller method was called.
- MechanicalGraphicsWrapper.ForceResume() System.Void
Forces the scene to resume. Useful in interactive context (console) if a reference on an
operation has been lost.
- MechanicalGraphicsWrapper.CreatePixelPoint(x: System.Int32, y: System.Int32) Ansys.ACT.Interfaces.Graphics.IPixelPoint
Creates a point from pixel coordinates (ie. window coordinates).
- MechanicalGraphicsWrapper.CreateWorldPoint(x: System.Double, y: System.Double, z: System.Double) Ansys.ACT.Interfaces.Graphics.IWorldPoint
Create a point from world coordinates.
- MechanicalGraphicsWrapper.CreateVector3D(x: System.Double, y: System.Double, z: System.Double) Ansys.ACT.Interfaces.Graphics.IVector3D
Create a 3D vector from world coordinates.