EnsContext#

class ansys.pyensight.core.enscontext.EnsContext(filename: str | None = None)#

A saved EnSight session state

This object allows for the generation and application of the EnSight “state”. The object may store a EnSight “context”, or a “data-less context” representation. The object can save() and load() the context to/from disk.

Parameters:
filenamestr, optional

If specified, “load()” the named context file after creating the object instance.

Methods

EnsContext.load(filename)

Read a context from a local zip file

EnsContext.save(filename)

Save the context information to a file