Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

Archicad API in .NET???

$
0
0
Author:stefan
Posted: Wed Apr 19, 2017 12:37 pm (GMT+1)


It seems possible for some other software. E.g. Unity is a C++ Game Engine running on most platforms (Windows, macOS, iOS, Android, PS4, Wii, Xbox, WebGL...), but it allows editor and runtime scripts but also plugins in UnityScript, Boo and C#. It uses the Mono runtime which allows it to also work on other platforms. For performance reasons, they even have means to re-translate the "intermediate code" back into native C++ code to speed up things when running a published game (IL2CPP).

With Microsoft open sourcing a part of the .NET framework and better support on Linux and OSX, it may be technically possible. Probably very complex for a 30-year old software such as ARCHICAD which was never written that way.

What you could do is create your own wrapper around the ARCHICAD C++ API and expose that to other systems. Not ideal and lots of work, but not impossible. But you are limited to what is exposed via the API and you probably need your own native ARCHICAD C++ add-in which does all the communication.

We've created an add-in which communicates with ARCHICAD via HTTP requests. But this is mostly for querying parameters & quantities and not to fully control the software.
_________________
--- stefan boeykens --- architect-engineer-musician ---
ARCHICAD20/Revit2017/SketchUp2017/Cinema4D18/Rhino5/Unity5
rMBPTB15:i7Quad2.7Ghz+16GB+Radeon455/Sierra+Win10

http://bit.ly/17u87df


Viewing all articles
Browse latest Browse all 564


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>