Accessing the object relationship graph

Accessing the object relationship graph

jimmy.nylund_rapal
Explorer Explorer
326 Views
0 Replies
Message 1 of 1

Accessing the object relationship graph

jimmy.nylund_rapal
Explorer
Explorer

Hi,

I am aiming to getting all relationships between my AEC objects. I want to know which spaces are linked by doors. 

Now in the Options -> AEC editor -> Diagnostic messages it is possible to turn on messages related to the object relationship graph. This gives certain messages that tells which AEC are related to an object when modifying it.

E.g. when modifying a door, I get the following messages:

AecObjRelGraph(db:0xC9035A60)::modified <AecDbDoor            101C43B>
MSG: <AecDbDoor            101C43B> --> <AecDbSpace           101C041>
MSG: [Modified   RELTYPE: DispRefOf]
MSG: <AecDbDoor            101C43B> --> <AecDbSpace           101C12B>
MSG: [Modified   RELTYPE: DispRefOf]
MSG: <AecDbDoor            101C43B> --> <AecDbWall            101C1EE>
MSG: [Modified   RELTYPE: OwnedBy]

 What I would like to be able to do is either export all these relationships between my AEC objects or access the object relationship graph through code/programming (I am mostly using LISP). Can I access the graph through dictionaries or the database? Is any of possible in any way? Can someone point me in the right direction how to access the relationships between doors and spaces (and other AEC objects)?

0 Likes
327 Views
0 Replies
Replies (0)