cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Eshanta
Contributor

Changing value of label via API

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.

11 Replies 11
Eshanta
Contributor

Hello,
Yes, I managed to get all of my user defined zone parameters using ACAPI_Element_GetMemo.
I tried it on AC24.

gustavorochakv
Booster

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

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!