The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

GDL language and objects, API, Add-ons, Script…

Moderators: Barry Kelly, Karl Ottenstein, LaszloNagy, ejrolon, gkmethy

What's your opinion about this wish?

Essential (5)
3
50%
Important (4)
2
33%
Average (3)
No votes
0%
Not important (2)
No votes
0%
Not needed (1)
1
17%
User avatar
By leceta
#266208
Hi,

is it planned to make public the API you are using to develop grasshopper components? This would open to the user community the option to develop custom ArchiCAD/GH components and hopefully speed-up the components ecosystem creation...

I presume the existence of a wrapped C++ library to C# or some .Net compatible language to make possible the communication between Grasshopper and ArchiCAD, but probably I´am being quite naif here (I´am noob in programming)...

Anyway, and open API in .net for ArchiCAD (al least if this is technically possible) would be fantastic.

cheers
aitor
User avatar
By leceta
#266239
Sure, I meant to expose the archicad API (in C++) wrapped to some .Net language in order to us, the community, be able to use it directly in grasshopper for the development of new components.

I know this could be a lot of work, but hey, just wishing...
#266243
how do you marry C# and C++/ i a development environment?

Wouldn't .NET cripple Mac/Windows compatibility? Aren't DLLs the reason that many GH plug-ins don't work on the Mac version?
User avatar
By leceta
#266253
mmhh cant say too much about the details, but grasshopper is in fact developed in .NET, and still runs in Macs based ion Mono project. .NET is definitively cross platform, at least that said the advertisement ; )

http://www.mono-project.com/

It seems also that this dll problem is somehow solved by mono project

http://www.mono-project.com/docs/advanced/pinvoke/dllmap/

About the not working plugins of grasshopper on mac, not sure about the reason as long as I am windows user... Maybe the reason is that Rhinocommon for Mac is still in WIP. Just guessing...

Anyway, as I said, i´am not an expert programmer by no means, so i´am not seeing the whole picture, for sure...