Hi Yuri,
The metadata of PB objects is found using the ClassDefinition.
Any class in PB is a descendant of PowerObject so every object has a property = ClassDefinition.
Now, ClassDefinition itself has two very important properties in this scenario:
- string Name ==> Class Name of this class -- (equal to ClassName( ) for currently instantiated class)
- ClassDefinition Ancestor ==> Ancestor class -- hence, this is where inheritance is defined
Class definitions is a whole advanced topic of its own. The best way to get started in my point of view is to put a breakpoint anywhere in any script of your control.
As soon as debugger hits the breakpoint, start inspecting current object, its ClassDefinition, and everything relevant that the ClassDefinition refers to.
HTH /Michael