Happy Thanksgiving!
I am on the road to Las Vegas now, gearing up for last-minute AU preparations. No actually, I am pretty much set to go. Other upcoming developer conferences still require some work, though.
Meanwhile, here is some useful information on survey and project base points gathered by my colleague Joe Ye:
Question: We need to work with the project base point and the survey point to design platforms in real-world coordinate systems and load survey data from DXF and DWG files containing geo-referenced coordinates. We therefore wish to use the Revit API to work with the project base point and the survey point.
Could you please explain how to programmatically achieve the following?
Additionally, here are a few further questions to improve our understanding of this topic:
Answer: The Revit API for shared coordinates is currently still a bit limited. Here is some of the available functionality:
To answer your other questions:
Many thanks to Joe for digging this up!
Talking about survey points and stuff like that, a new white paper has just been released explaining the use and advantages of BIM for infrastructure: BIM for Infrastructure: A vehicle for business transformation discusses BIM as the vehicle by which the business of planning, designing, building, and managing the world's infrastructure will be transformed to deliver higher productivity, quality, and cost-effectiveness.
A recurring topic is programmatic ODBC export.
Here is a typical query on this topic with an answer by Saikat Bhattacharya:
Question: Is there a way to export the whole Revit database to an external database such as MSsql via the ODBC link, similarly to the manual process or using DBLink, but avoiding all the dialogues for choosing the ODBC connection etc.? I would like to set up the connection programmatically in .NET instead.
Answer: The Revit API provides direct access to the underlying data. You can implement your own export functionality to any external database including MSsql. How to implement this is completely up to you to decide.
The API provides access to the data in the model that might need to be included in the export. With the data available, the connection can be set up and desired data exported to any external database.
The Revit 2010 SDK still included the RDBLink sample, so that code is available in case of interest. Due to its size and complexity, it was later promoted to a subscription feature and removed from the SDK. If you like, you could migrate the old Revit 2010 code to the current version and use it as a basis for your own implementation.
Here are a couple of discussions related to this topic:
Many thanks to Saikat for putting together this overview!