Export#
- class ansys.pyensight.core.utils.export.Export(interface: ensight_api.ensight | ensight)#
Provides the
ensight.utils.exportinterface.The methods in this class implement simplified interfaces to common image and animation export operations.
This class is instantiated as
ensight.utils.exportin EnSight Python and asSession.ensight.utils.exportin PyEnSight. The constructor is passed the interface, which serves as theensightmodule 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
ensightnamespace. In the case of EnSight Python, theensightmodule is passed. In the case of PyEnSight,Session.ensightis 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