Accessing the object relationship graph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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)?