Hi,
Please clarify:
Are you trying to retrieve data from the model with the existing Graphisoft ODBC driver as a pure ODBC client? Or, are you trying in C# to develop an add-on (plug-in) which obtains the xyz coordinates of the roof planes?
(Note: the ODBC access to the model is read-only - you can only retrieve the limited data allowed in the schema - you cannot change any model data.)
If pure ODBC client, I do not believe there is any access to any coordinate (xyz) information anyway... use the Show Data Structure command to obtain the list of tables that is exposed by the ODBC (and built-in SQL) driver. I may have missed it, but do not see any coordinate information.
If you require xyz coordinates... then you probably have to write an add-on (which would have access to more model data)... and export what you want from your add-on (plug-in). That cannot be written in C# though, but in C / C++ using the API developer kit. If that's what you're after, I'll move this thread into the Developer forum.
Karl
One of the forum moderators
AC 26 USA and earlier • macOS Ventura 13.6, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB