DynamicEObject#
- class ansys.sam.sysml2.classes.dynamic_e_object.DynamicEObject(*args, **kwargs)#
Dynamic-notation behaviour mixed in front of a generated metamodel class.
Overview#
Resolve a |
|
Mirror static write semantics: send a scripting |
|
Expose the dynamic view: |
Import detail#
from ansys.sam.sysml2.classes.dynamic_e_object import DynamicEObject
Method detail#
- DynamicEObject.__getattr__(name)#
Resolve a
_camelCaseproperty or a named child; only fires on lookup failure.
- DynamicEObject.__setattr__(name, value)#
Mirror static write semantics: send a scripting
_fieldwrite to its property.A read-only property (no setter) raises
AttributeErrorexactly 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:
_camelCaseaccessors, named children and action methods.