We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.

New API developer

Anonymous
Not applicable
Hello; I am a french beginning developer.

I have developed little Java application, and most of my work outside ArchiCAD was on Web Applications using Php.

These two years I have worked on complex GDL object development.
But now I have a project on the table for an API for Archicad using a part In GDL and an other part coding API. I think I could handle C or C++ but I really don't know how to start to develop an API.

Could I found some examples that I could Launch on Archicad And Compile it on a Mac without using Software like VS 2003?

Thank you for your answer

PS : I have already begin to fill the graphisoft Application Form to have My own API developer ID; But I have not done anything else
21 REPLIES 21
Ralph Wessel
Mentor
yohannAtila wrote:
Could I found some examples that I could Launch on Archicad And Compile it on a Mac without using Software like VS 2003?
The development kit for the ArchiCAD API comes complete with documentation and example projects. The examples cover a wide variety of applications, and could be used as a starting point for your own project.

Fortunately the Mac OS comes with a free development environment called XCode, but this is only applicable if you are developing for ArchiCAD 10 or above on Mac OS 10.3 or higher. I wouldn't consider starting development on anything lower than that anyway. If you haven't already done so, install the Developer tools that come with your Mac OS X installation.

Take a look at this link too: http://archicad-talk.graphisoft.com/viewtopic.php?t=2699&start=0&postdays=0&postorder=asc&highlight=
Ralph Wessel BArch
Software Engineer Speckle Systems
Akos Somorjai
Graphisoft
Graphisoft
yohannAtila wrote:
I have already begin to fill the graphisoft Application Form to have My own API developer ID; But I have not done anything else
When you receive your developer ID and authorization code, you'll be able to create your own MDID resource. In the meantime, you can still play with the example add-ons; just start ArchiCAD in Demo mode.

HTH,

Akos
Anonymous
Not applicable
Hello Ralph,
Thank you for your answer.

I have read the web pages. I opened Xcode and graphisoft developer kit.
It seems to be very difficult to understand all.

I don't know how to make the example add-ons work on ArchiCAD demo.
Anonymous
Not applicable
Akos wrote:
In the meantime, you can still play with the example add-ons; just start ArchiCAD in Demo mode.
XScuse me, i just dont understand how to compile it to see it works in archicad.
Ralph Wessel
Mentor
yohannAtila wrote:
It seems to be very difficult to understand all.
I don't know how to make the example add-ons work on ArchiCAD demo.
Yohann,

I've already sent this to you by email (with illustrations) but for the sake of anyone else who might be interested:

1) Open an XCode example project file (with the suffix '.xcodeproj')

2) Select 'Build' from the 'Build' menu to produce the add-on.

3) The completed add-on should be in the build/Release directory for the selected example. Copy this into the ArchiCAD/Add-Ons directory to use it. You will probably have to run ArchiCAD as a demo to use the example add-ons because they have no developer ID assigned to them.

Regards,

Ralph.
Ralph Wessel BArch
Software Engineer Speckle Systems
stefan
Advisor
Ralph wrote:
yohannAtila wrote:
It seems to be very difficult to understand all.
I don't know how to make the example add-ons work on ArchiCAD demo.
Yohann,

I've already sent this to you by email (with illustrations) but for the sake of anyone else who might be interested:

1) Open an XCode example project file (with the suffix '.xcodeproj')

2) Select 'Build' from the 'Build' menu to produce the add-on.

3) The completed add-on should be in the build/Release directory for the selected example. Copy this into the ArchiCAD/Add-Ons directory to use it. You will probably have to run ArchiCAD as a demo to use the example add-ons because they have no developer ID assigned to them.

Regards,

Ralph.
Does the XCode compile process work on PPC as well? Or do you need CodeWarrior for that? Since I don't have it and don't intend to buy it...
--- stefan boeykens --- bim-expert-architect-engineer-musician ---
Archicad28/Revit2024/Rhino8/Solibri/Zoom
MBP2023:14"M2MAX/Sequoia+Win11
Archicad-user since 1998
my Archicad Book
Ralph Wessel
Mentor
stefan wrote:
Does the XCode compile process work on PPC as well? Or do you need CodeWarrior for that? Since I don't have it and don't intend to buy it...
XCode can compile for PPC, but unfortunately there is no develoment kit for Archicad add-ons to support that route. Even it was technically feasible, I suspect the cost would outweigh the benefits. PPC development is a legacy exercise now as far as Macs are concerned.

I've been corresponding with Yohann by email and he had the same question. I forgot that some will be still be working exclusively with PPC Macs. As you noted, CodeWarrior is required for this but I have no idea where you could purchase it now even if you wanted to. Motorola bought Metrowerks (inc. CodeWarrior) before Apple announced the shift to Intel, and abandoned CodeWarrior for Mac development to avoid supporting a rival processor.
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Ralph wrote:
As you noted, CodeWarrior is required for this but I have no idea where you could purchase it now even if you wanted to.
I Googled "codewarrior" and found a couple. The first is for an educational copy of version 8 the second seems to offer a free demo download of version 9 with an option to buy for $99. I can't vouch for their legitimacy.

www.diskovery.com/codewarrior.html

mac.softpedia.com/get/Developer-Tools/CodeWarrior-Development-Studio.shtml
Rod Jurich
Contributor
An announcement at our road show last evening said that GS support for PPC Mac will end at 12. Therefore from 13 on it will be Intel only.
Rod Jurich
AC4.55 - AC14 INT (4204) |  | OBJECTiVE |