Simple definition of the element can be used as in the following example (Phlex has more complex Element Object and end developer is not allowed to modify this definition) Note that some outline of adaptive hierarchy is provided here: each Element can be refined into arbitrary number of children and pointers to these children as well as to the parent element are stored in each Object.

OBJECT 76
OBJECT Element {
    int   objname;   /* internal identifier */
    int nchildren;
    OBJECT Element * children _DYNAMIC_ARRAY_ sons;
    OBJECT Element * parent;
    OBJECT Nodes [8];    /* fixed - static sized array */
    OBJECT Material * material;
    UBYTE is_active;
    int   flags;
}