[newbie] how about 'hello world'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-06-15
07:45 PM
- last edited on
‎2023-08-07
12:21 PM
by
Doreena Deng
Looking at the PDF link that you posted, I think you're in for some "fun", Tor Jørgen! Welcome!I'm glad for the welcome, but I worry that maybe I'm in over my head - I guess thats where the fun starts...

I'll just wait with the questions connected with my project and start really simple;
- in most of the languages I've looked at, there's always an example of how to write the simple 'hello world'-snippet. How do I do that in an addon?
- and then how does the real workprocess go, I'm thinking of debugging and setting breakpoints and beeing able to step through the code to see what happens where, and why... and how is the interaction with ArchiCAD?
--
Regards,
Tor Jørgen

- Labels:
-
Add-On (C++)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2004-07-02 01:27 PM
Tor wrote:Yes, you've got it right
Ralph wrote:All the files should be set to compile for debugging (in the debug column in the main project window).I'm not quite shure what you mean, but I've clicked the little dot under the little green bug in the main project window.

Tor wrote:Double check that ArchiCAD is specified as the Host Application in the project Runtime Settings. Also, have a look at Debugger Settings - the option to 'Stop on application launch' should be off.
Now I can start ArchiCAD by clicking Run, but when I click Debug it says 'loading debugging data for target "add-on debug', but nothing happens...
Central Innovation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 01:57 AM
stefan wrote:
In Visual Studio 6.0 you can create a new ArchiCAD Add-on with the provided wizard.
I have API Development Kit 11.21 installed, ArchiCAD 11 installed, Visual Studio 6.0 installed and Visual Studio 2005 also installed... Where is wizard You are talking about? I'm able to compile examples, but creating new project is out of my range:/
Please help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 03:43 AM
bamboos wrote:During the installation of the devkit, it asks if you want to install the wizard. It won't install to VS 2005, only to VS 2003 AFAIK. All it does is give you a stripped down add-on with no functionality to use as a starting point. Similarly, you can just take the simplest of the example files and modify it...
I have API Development Kit 11.21 installed, ArchiCAD 11 installed, Visual Studio 6.0 installed and Visual Studio 2005 also installed... Where is wizard You are talking about? I'm able to compile examples, but creating new project is out of my range:/
Please help.
Karl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 10:31 AM
Karl wrote:
During the installation of the devkit, it asks if you want to install the wizard.
I've just installed it once again... It didn't 😕
Karl wrote:
It won't install to VS 2005, only to VS 2003 AFAIK.
World is going forward... VS 2005 exists and lots of people use it. It's weird, that Graphisoft doesn't support it.
Karl wrote:
All it does is give you a stripped down add-on with no functionality to use as a starting point.
Exactly what I need... It would be nice to add Empty project to start with in SDK Examples. Right now I have to delete code which I don't need
Karl wrote:
Similarly, you can just take the simplest of the example files and modify it...
Exactly what I'm doing right now
Thanks for fast answer.
Maciek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 05:04 PM
I've opened an old VS2003 solution inside VS 2005 and with some tinkering, I was able to compile and run it. Still some bugs in my code, but technically you should be fine.
Archicad28/Revit2024/Rhino8/Solibri/Zoom
MBP2023:14"M2MAX/Sequoia+Win11
Archicad-user since 1998
my Archicad Book

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 05:13 PM
Karl

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 05:19 PM
Karl

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 05:21 PM
Karl

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 05:23 PM
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\vcprojects
Karl

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-11-07 05:28 PM