BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.

Userdata for Angle-Dimension?

Geza Bohm
Participant

Hi,
if I call the function "ACAPI_Element_SetUserData" for an element with type "API_AngleDimensionID", then it returns with error code APIERR_BADID.

Other types of elements are working properly, only this one is not.

Of course getting userdata is unsuccessful, too.

Why is that behaviour? Is angled dimension so different that it cannot have userdata?

 

The issue is quite easy to reproduce, because among the API Examples, there is "Notification Manager" and it has a test feature to set userdata for selected elements.

Thanks in advance!

1 REPLY 1
akomporday
Graphisoft
Graphisoft

Hi Géza,

It is an error on our side, which requires further investigation. I created a ticket in our issue tracking system, and hopefully we can fix it soon.

Learn and get certified!