cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Tutorial for new developer...

Anonymous
Not applicable
Hi.

I'm an experieced .NET programmer. I wonder how I can start developing my own plugins in Archicad.

All tips are welcomed!
7 REPLIES 7

Laszlo Nagy
Community Admin
Community Admin
Graphisoft Developer Center seems to be a good starting point:

http://www.graphisoft.com/support/developer/
....................................................................................................
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995

Anonymous
Not applicable
🙂 Thanks!

Anonymous
Not applicable
d00_ape wrote:
Hi.

I'm an experieced .NET programmer. I wonder how I can start developing my own plugins in Archicad.

All tips are welcomed!
*bump*

Is it possible to use Visual Studio 2005 and C# to develop my own plugin?
I have only found examples using c++...

Akos Somorjai
Graphisoft
Graphisoft
jmi wrote:
Is it possible to use Visual Studio 2005 and C# to develop my own plugin?
I have only found examples using c++...
No, it's C/C++ only. You can try to use VS 2005, but ArchiCAD is compiled with 2003, so the different runtime libraries may cause conflicts.

HTH,

Akos

Anonymous
Not applicable
Anyone know if it is possible to develop ArchiCadAddOn with Visual Studio 2005

I got the following error:

Error 2 error PRJ0019: A tool returned an error code from "Compiling the RC2 file..." ...

stefan
Enthusiast
I think it is quite clear that you need to use VC2003 and not 2005.

The compiler for ArchiCAD is 2003 and libraries that are linked need to be compiled with the same compiler, so that makes it impossible to use VC2005.

AFAIK, there is no workaround, unless you create a wrapper add-on with 2003 and load an external library which was created with VC2005 (it that is possible at all).
--- stefan boeykens --- architect-engineer-musician ---
Archicad26/Revit2022/Rhino/Unity/Solibri/Zoom
MBP2019:i9Octo2.4GHz32GBVega20/Monterey+Win11
ARCHICAD-user since 1998

GAG
Beginner
There is no real problem to compile ArchiCAD add-on examples using VS 2005.
You just need to verify or configure external tools like Graphisoft Resource Compiler. You can compile resources before whole project compiling and linking to verify that there is no problem with Resource Converter.

GRC files are configured to be compiled using external tool (grc), so verify it at first.
When you open project (solution) check Resource Files project virtual subfolder: there must be .rc2 and .grc files. Right click on them and say 'Compile', you'll see in log that files compiled ok. If not - check custom build tools in project properties.

How to verify that Graphisoft Resource Compiler is configured OK:
Right click on .grc file in VS project list, choose 'Properties', you'll see Custom Build Step option. Check Command Line field, it must contain correct path to Resource Converter like this: "..\..\Support\Tools\Win\ResConv.exe". Check if ResConv.exe is available on the path specified. Command line for ResConv looks like this:
"..\..\Support\Tools\Win\ResConv.exe" -m r -D WINDOWS -T W -q utf8 1252 -i Res\ResourceFileName.grc -o Release\ResourceFileName.grc.rc2
Then you just select resource file in list and using Rich-Click menu say 'Compile', if all is ok, you'll see something like this in the log:
1>Compiling the localized GRC file...
1>Build log was saved at "...\Release\BuildLog.htm"
1>Project - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
I compile C examples from DevKit10 using VS 2005 with no troubles.
George

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!