DynamicEObject#

class ansys.sam.sysml2.classes.dynamic_e_object.DynamicEObject(*args, **kwargs)#

Dynamic-notation behaviour mixed in front of a generated metamodel class.

Overview#

__getattr__

Resolve a _camelCase property or a named child; only fires on lookup failure.

__setattr__

Mirror static write semantics: send a scripting _field write to its property.

__dir__

Expose the dynamic view: _camelCase accessors, named children and action methods.

Import detail#

from ansys.sam.sysml2.classes.dynamic_e_object import DynamicEObject

Method detail#

DynamicEObject.__getattr__(name)#

Resolve a _camelCase property or a named child; only fires on lookup failure.

DynamicEObject.__setattr__(name, value)#

Mirror static write semantics: send a scripting _field write to its property.

A read-only property (no setter) raises AttributeError exactly as in the static model; a writable property runs its setter and notifies the observer. Internal writes stay raw in two cases: during construction, and while a routed setter is writing its own backing field.

DynamicEObject.__dir__()#

Expose the dynamic view: _camelCase accessors, named children and action methods.