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 as Session.ensight.utils.export in PyEnSight. The constructor is passed the interface, which serves as the ensight module for either case. As a result, the methods can be accessed as ensight.utils.export.image() in EnSight Python or session.ensight.utils.export.animation() in PyEnSight.

Parameters:
interface

Entity that provides the ensight namespace. In the case of EnSight Python, the ensight 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