GetterWrapper#

class ansys.mechanical.core.embedding.app.GetterWrapper(obj, getter)#

Bases: object

Wrapper class around an attribute of an object.

Overview#

__getattr__

Wrap getters to the wrapped object.

__setattr__

Wrap setters to the wrapped object.

Import detail#

from ansys.mechanical.core.embedding.app import GetterWrapper

Method detail#

GetterWrapper.__getattr__(attr)#

Wrap getters to the wrapped object.

GetterWrapper.__setattr__(attr, value)#

Wrap setters to the wrapped object.