2006-03-09 04:52 AM
2006-03-13 09:36 PM
Mark wrote:You can do that in PM. Haven't tried (or wanted to) the same thing in AC. In PM just copy area in Excel, and paste in PM. Make sure you select the OEM option for live connections.
Ultimately i would like to read an excel document directly from archicad using an object without having to create a text file first?
2006-03-13 09:39 PM
Mark wrote:Do you mean having an object that can read an Excel file then show some data that was extracted from the Excel file?
Has anyone had experience with reading external databases or other file types. I know how to read text files that can be created from excel documents or any database file for that matter but i really want to read it directly.
Ultimately i would like to read an excel document directly from archicad using an object without having to create a text file first?
2006-03-13 10:06 PM
TomWaltz wrote:Yeah, i want the object to read data and then use this inside the object for GDL commands. Just like you can do using a txt file.
...Do you mean having an object that can read an Excel file then show some data that was extracted from the Excel file?
That would be really cool, but I do not know of any way to pull it off.
I tried something like that with OpenOffice a while back since its file format is just compressed XML, but got annoyed and gave up.
2006-03-13 10:19 PM
2006-03-14 01:17 AM
TomWaltz wrote:My thoughts, too. AFAIK, what you would need - since you're talking reading inside an object's script - is the GDL Dev Kit, which is available only upon special request (free, but not on a public download site) - which does indeed require C++ programming skills. This is how, for example, the XML in/out abilities of GDL were created AFAIK.
I imagine reading an Excel file would require more than just C++ skill unless you already have a good compiled library for reading M$ file formats.
2006-03-14 01:23 AM
Karl wrote:Hmmm, sounds like it is moving towards a too hard basket for me unless i get a third party to write it for me. Thanks for the info guys.
...Another option might be ODBC, which can access information inside an Excel sheet (the ODBC driver having been provided by MS, at least with the PC version of Office. While Mac OS X supports ODBC, I don't know if there is an Excel driver there.)
Karl