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

APIAny_GetElemCreatorToolUnIdID bug ?

Oleg
Expert
API 5.2
The APIAny_GetElemCreatorToolUnIdID returns bad database error when Detail database is active.
It seems like a bug, I dont see a reason why it can not work same way as for floor plan database.
May be it is not a bug but a designed feature.
3 REPLIES 3
Karl Ottenstein
Moderator
Oleg wrote:
API 5.2
The APIAny_GetElemCreatorToolUnIdID returns bad database error...
Hi Oleg,

I can't keep the version numbers straight ... which version of AC does API 5.2 go with ... 8.1 I guess?

I don't have any of the old devkits installed anymore, so can't check ... but does this problem still exist in the 6.1 kit?

Best regards,
Karl
AC 28 USA and earlier   •   macOS Sequoia 15.3, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators
Oleg
Expert
Karl wrote:
I can't keep the version numbers straight ... which version of AC does API 5.2 go with ... 8.1 I guess?

I don't have any of the old devkits installed anymore, so can't check ... but does this problem still exist in the 6.1 kit?

Karl
Yes, It is the 8.1 API. I dont know does it exist in the 6.1.
I met the issue in a project for 8.1 I am working.
Actually It is a very specific case, I dont think it will a big issue for most developers and me. I will just use other method instead of the function to
distinguish objects of my tool subtype along others.
But GS may check and fix it in a future API Kit, if it is a bug really.
Akos Somorjai
Graphisoft
Graphisoft
Oleg wrote:
But GS may check and fix it in a future API Kit, if it is a bug really.
I'll do that.

HTH,

Akos

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!