License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.

ArchiCAD to Radiance Add-on revisited

stefan
Advisor
I wrote an ArchiCAD to Radiance exporter some years ago. That was using ArchiCAD 8.0 and Visual Studio 6.0 in Windows 2000.

After some (serious) struggling to get my develoment environment up to date and working again, I finally succeeded compiling my add-on again in an updated environment: using ArchiCAD 16 on OSX 10.7, XCode 3.2.6 (dug up from underneath a pile of Time Machine dust) and an up-to-date Radiance distribution (with now a native rvu viewer to replace rView that works natively in OSX using Qt instead of X11).

There is lot of things to polish, still, but the geometry and color information seems to survive OK. I had to revise the transformation of the geometry again (see discussion in http://archicad-talk.graphisoft.com/viewtopic.php?t=3938).

It is not ready for release and still have to test in Windows too (only have a 32-bit environment available at the moment, bursting at the edge of filling my boot camp partition, alas).

But want to thank this forum for some help along the way and want to suggest GS to do some more efforts to make the API more accessible (update compilers, more examples, double-check examples in a clean install, ...). But definitely more open examples in the Documentation as well. There is so little info available, e.g. when comparing with ADSK.

archicad2radiance.jpg
--- stefan boeykens --- bim-expert-architect-engineer-musician ---
Archicad28/Revit2024/Rhino8/Solibri/Zoom
MBP2023:14"M2MAX/Sequoia+Win11
Archicad-user since 1998
my Archicad Book
3 REPLIES 3
Tomasz Marek
Beginner
Looks good. No textures output yet?
Does your export method support 3D Sections?
stefan
Advisor
Surely, updating to a new computer breaks things again...

Still using old XCode 3.2.6 but now on Mountain Lion and ArchiCAD 16 HF2 (no HF3 since our BIM Server is not updated).

For some reason when I export the list of materials in a text file, it stops after exactly 4096 characters. This can't be a coincidence. Would anybody be aware of such a limitation (e.g. streaming to files in buffers of 4096). Would I have to do something different?

As an alternative, is there a nice example in the Devkit which uses an external text file to read and write into?
--- stefan boeykens --- bim-expert-architect-engineer-musician ---
Archicad28/Revit2024/Rhino8/Solibri/Zoom
MBP2023:14"M2MAX/Sequoia+Win11
Archicad-user since 1998
my Archicad Book
Tomasz Marek
Beginner
stefan wrote:
As an alternative, is there a nice example in the Devkit which uses an external text file to read and write into?
There is ModelAccess_Test in the 16 FullSDK with ModelAccess_Test_Writer, which may be helpful.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!