The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

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

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

What's your opinion about this wish?

Essential (5)
31
66%
Important (4)
11
23%
Average (3)
4
9%
Not important (2)
No votes
0%
Not needed (1)
1
2%
User avatar
By stefan
#221299
Take a look at Unity > mono framework with C#, Javascript and boo and running on iOS, Android, Mac, Windows, Linux, Windows Phone, Playstation, XBox, Wii, Webplayer, …

Or Python running on almost any platform and integrated into many CAD and 3D applications (Rhino, Maya, Cinema4D)
By peter_h
#221365
Or maybe, if not an integrated scripting language, then at the very least, an API implemented using HTTP methods (e.g., GET, PUT, POST, or DELETE), i.e. a RESTful web service.
Then we could program and create GUIs in whatever language we want that can talk TCP/IP. Now if only we could find a language that does that... :roll:
By peter_h
#226611
Also of interest: www.openbim.org/

"Written with open standards in mind, xBIM (eXtensible Building Information Modelling) is a free, open-source, software development toolkit that allows developers to create bespoke BIM middleware for IFC-based applications.

xBIM is a .NET toolkit, so developers can build everything from simple command-line applications, to extensions for Windows applications and Web services. An example of this would be: an “Add-In” for commercial BIM tools such as Autodesk Revit.
"
By galfarragem
#228887
I would go for Ruby (once Autodesk killed AutoLisp).
Can be the missing link between BIM packages. It's simple, OO is perfectly designed and open-source. Could boost archicad and BIM scripting community.

Sketchup -> Ruby API
Revit 2014+ -> Ruby API
Archicad 19+ -> Ruby API
User avatar
By TMA_80
#228891
We could imagine that a feature like the new multi-edit would long have been acheived from some scripters...
Last edited by TMA_80 on Sat May 17, 2014 10:17 pm, edited 2 times in total.
User avatar
By Karl Ottenstein
#228892
TMA_80 wrote:We could imagine that feature like the new multi-edit would long have been acheived from some scripter...


Interesting. I cannot imagine how this would be done without involving an extremely heavy development effort to product a scripting function... and such a script. To achieve multi-edit, as it operates in 18 in the 3D window, would be a complex API add-on... and I don't see any script language making that any easier.

Sure, it would be nice to have a built-in, approachable scripting approach vs having to code in C/C++ in the API... but I really don't see the high cost of creating such a scripting environment to pay off for GS in terms of sales... which is the bottom line. ;-)
User avatar
By TMA_80
#228896
Hi Karl,
I'm not a programmer,so I could not answer... However, I could imagine what could be done as it is in the Sketchup World.
By galfarragem
#228898
A scripting language would not boost sales but would for sure add value to archicad. This added value could make a diference in the long term. Sketchup, for exemple, would be much less powerful without ruby and probably some people that use it professionally would not use it.
By peter_h
#233056
I think it's very short-sighted to question the benefits of adding scripting functionality to a modelling program. Here are some of the kinds of tools that get created when you have your platform open to enhancement via a scripting (C# in the case of Rhino & Grasshopper addons):

https://www.youtube.com/watch?feature=player_embedded&v=4n8U-PGmhCk
http://vimeo.com/28227628


Here's something a little more esoteric (Python):
http://empython.blogspot.co.uk/

These are all pretty fancy, but as a simple, more practical example where ArchiCAD workflow could be improved, take a look at the "Selections" palette. Do you use it? Probably not, because it's a half-baked idea. Good in principle, but no doubt would have been replaced with something very useable, if we had access to a scripting system.
User avatar
By stefan
#233059
Scripts, like GDL, are less dependent from the API version. Remember how many great and useful ArchiCAD addons have been abandoned each time a new ArchiCAD was released? I'm afraid of starting to rely on addons, as they deprecate each year and no guarantee of them being recompiled for a new release.

Scripting is for power users, to extend the workflow. It has done miracles to get AutoCAD and now Revit integrated into workflows.

They don't even have to,reinvent a language, as GDL might fit the bill. GDL as it stands is limited to a single object in isolation. With scripting you can automate processes, generate objects, integrate into workflows (eg steering Object generation from an Excel sheet), link to online sources or databases.

Currently the DevKit is what allows such extensions but is really hard to get into.