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

How to see source property of labels

kotantomi
Newcomer

I am trying to get the source of the displayed text of Archicad labels (like name/id of property), but I can't seem to find this information in the API types.

In my example, I create a roof then assign a label to it and set this label to display the pitch of the roof (let's say 10°). After this, I would like to see in the API whether this label is indeed based on the roof's pitch (text changes with it), or it is just manually set to the text "10°" (text does not change when pitch changes).

 

I have not yet found this information in the API_LabelType or in the API_ElementMemo associated with the label, only the textContent in the memo.

 

Is the source of this text reachable in the API?

0 REPLIES 0