Skip to main content
1-Visitor
February 25, 2019
Solved

Control the variable text with ProToolkit

  • February 25, 2019
  • 1 reply
  • 2297 views

We have a copyright symbol and various other symbols with lists of variable text items. Today, each user has to edit properties on the symbol, then change the properties in order to select these items. We would like to use ToolKit to develop a single screen to set these variable text values. Is there a way to use ToolKit to read the values in the variable text in a custom symbol, then set the value?

 

Best answer by GabrielZaha

Take a look at ProDtlsyminstdataVartextsSet function.

I didn't had the need to use this function in a very long time but check the documentation. The code example seems to be pretty good.

1 reply

14-Alexandrite
February 26, 2019

Take a look at ProDtlsyminstdataVartextsSet function.

I didn't had the need to use this function in a very long time but check the documentation. The code example seems to be pretty good.

mcrist1-VisitorAuthor
1-Visitor
February 26, 2019

Ah, thank you for the pointer. I was looking for the way to get the list of variable text selections, and it looks like there is a ProDtlsyminstdataVartextsCollect function that will perform this task. I saw the "Set" command, but didn't see a corresponding "Get" command.