Support#
- class ansys.pyensight.core.utils.support.Support(interface: ensight_api.ensight | ensight)#
Provides the
ensight.utils.supportinterface.This class provides a collection of general utility functions and objects that can be used to simplify various issues that come up when using EnSight and PyEnSight.
This class is instantiated as
ensight.utils.supportin EnSight Python and asSession.ensight.utils.supportin PyEnSight. The constructor is passed the interface, which serves as theensightmodule for either case. As a result, the methods can be accessed asensight.utils.support.*in EnSight Python orsession.ensight.utils.support.*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
Support.scoped_name(obj[, native_exceptions])Allow for the use of
withto shorten APIs.