Export#
- class ansys.pyensight.core.utils.export.Export(interface: ensight_api.ensight | ensight)#
Provides the
ensight.utils.export
interface.The methods in this class implement simplified interfaces to common image and animation export operations.
This class is instantiated as
ensight.utils.export
in EnSight Python and asSession.ensight.utils.export
in PyEnSight. The constructor is passed the interface, which serves as theensight
module for either case. As a result, the methods can be accessed asensight.utils.export.image()
in EnSight Python orsession.ensight.utils.export.animation()
in PyEnSight.- Parameters:
- interface
Entity that provides the
ensight
namespace. In the case of EnSight Python, theensight
module is passed. In the case of PyEnSight,Session.ensight
is passed.
Methods
Export.animation
(filename[, width, height, ...])Generate an MPEG4 animation file.
Export.geometry
(filename[, format, ...])Export a geometry file.
Export.image
(filename[, width, height, ...])Render an image of the current EnSight scene.
Attributes