ODBC - PostgreSQL Database connection - Revit 2018 - external database use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello 🙂
I exported a project from Revit to PostgreSQL and I also tried the SQL server one. In the SQL Server database, I used the Revit DB link. Analysing the two databases' tables I found that the SQL Server one has more tables (more 30 tables). First I don't know why and in my little research about it no one knows it too.
Now, my big "problem".
The tables in the database have relationships between them. For example, the doors table and the doorTypes table have a relationship. (Attached is an image of the doors and doorType tables to a better understanding)
However, how I know which building do they belong to? I want to have a database with different infrastructures and access their information separately. For instance, a school and a regular house are in my database. How do I know which is the door of the school? Or any other element?
In other words, my doubt is how I know the id of the Revit object as a whole. I mean, I need an identifier that is related to all of its elements. (example: A house has an id, and each element such as doors, walls, has a relationship to the house id).
Thanks in advance.