Class: MechanicalGraphicsWrapper

Wrapper for Graphics in Mechanical.

Methods

Name Description
CreatePixelPoint(Int32, Int32) Creates a point from pixel coordinates (ie. window coordinates).
CreateVector3D(Double, Double, Double) Create a 3D vector from world coordinates.
CreateWorldPoint(Double, Double, Double) Create a point from world coordinates.
Export3D(String, Graphics3DExportFormat, Graphics3DExportSettings) Exports the current Graphics display in a 3d format to a file.
ExportImage(String, GraphicsImageExportFormat, GraphicsImageExportSettings) Exports the current graphics display to a 2D image file.
ExportScreenToImage(String) Exports the current Graphics screen to a file.
ExportViewports(String, GraphicsImageExportFormat, GraphicsViewportsExportSettings) Creates a composite of images exported from each open viewport.
ForceResume() Forces the scene to resume. Useful in interactive context (console) if a reference on an operation has been lost.
Redraw() Forces the scene to redraw its content.
Suspend() Prevents the scene to redraw until the Resume controller method was called.

Properties

Name Description
Camera Gets the camera.
GlobalLegendSettings Gets the Global Graphics Legend Settings.
ModelViewManager An instance of the ModelViewManager.
ResultAnimationOptions Gets the Global Result Animation options.
Scene Gets the scene.
SectionPlanes An instance of the SectionPlanes.
Unit Gets the current graphics unit.
ViewOptions Gets the Graphics View Options.