2021-12-20 11:25 AM - last edited on 2024-09-09 11:23 AM by Doreena Deng
I am currently trying to create a zone label in which the values are updated programmatically via the API.
I've tried the following so far without any success:
1) Tried setting the parameter value of the label's display text using the API. While this worked for other GDL object types, it did not work for labels.
2)Tried ACAPI_Element_GetPropertyDefinitions to get the property definitions first, so that I can somehow set the value later. However, I get null value in property definitions for labels. It works fine for other objects like walls.
Is it possible to update text in labels programmatically ?
Thanks.
2022-01-06 02:19 AM
Hello,
Yes, I managed to get all of my user defined zone parameters using ACAPI_Element_GetMemo.
I tried it on AC24.
2022-01-06 08:30 PM
Interesting. I guess I'll try it on a previous version to see whether I'm messing things up somewhere or if it's an issue with AC25.
Thanks for the info