Support#
- class ansys.pyensight.core.utils.support.Support(interface: ensight_api.ensight | ensight)#
Provides the
ensight.utils.support
interface.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.support
in EnSight Python and asSession.ensight.utils.support
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.support.*
in EnSight Python orsession.ensight.utils.support.*
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
Support.scoped_name
(obj[, native_exceptions])Allow for the use of
with
to shorten APIs.