Archicad C++ API
About Archicad add-on development using the C++ API.

X64 Archicad: The selected object is not a All Add-Ons.

Anonymous
Not applicable
I am developing my add-on using window7 , vs 2005 for ArchiCAD 13 , 64bit.


When I am opening a new project and compile any add on (even new empty project) with X64 as platform and try to load the add on in ArchiCAD 64 Bit under window 7. It gives:


"The selected object is not a All Add-Ons. Please select a All Add-Ons."

What does "Add Add-Ons" means? How can I setup my project environment properly to make the add-on loadable by ArchiCAD13 64Bit under window 7.



Note that If I transfer the same project to a XP machine using 32Bit as platform and compile it for ArchiCAD 13 64Bit, it will work.

Thanks
Alfred
4 REPLIES 4
Oleg
Expert
I dont know a reason.

Check this project settings under Linker/Advanced for x64:

Entry Point : DllMainEntry
Target Machine : MachineX64 (/MACHINE:X64)
Anonymous
Not applicable
Thanks for the reply. But I still get "The selected object is not a All Add-Ons. Please select a All Add-Ons." when I try to add it through the add-on manager

This will always happens when I try to compile any project in window 7 using vs 2005 with Active Platform x64 and trying to run it in ArchiCAD 13 , 64bit in window7. (I even try to launch demo version ArchiCAD13 and test with the add-on to make sure its not related to the Developer Key)



I can always compile and run such project in another window xp machine with vs 2005 with Active Platform Win32 and launch it in ArchiCAD 13 , 32 bit in Window XP.

I hope anyone can give me an idea of what does

"The selected object is not a All Add-Ons. Please select a All Add-Ons." means and how can I resolve it.


Thanks
Alfred
Oleg
Expert
I guess, it may be not Add-On issue.

I think "All Add-Ons" is just open dialog filter name.
So, Tool Add-On extension is "apx".
Lets you type "myaddon.dll" and the file exists.
I think you got this message as extension is not "apx".
And it is not "All Add-On" 🙂

So, check extension of your Add-on, move it into empty folder (for any case, may be some file with same name but other extension is the issue).
And try.
Anonymous
Not applicable
Resolved

Thanks for the reply. The add-on generated has always been .apx and the message still showed up when I was trying to load the .apx in Archicad. That's why I was confused.

I went through the vc2005 setting again and finally get a compiled version that can make ArchiCAD load the .apx. Resolved now. Thanks