Append current value to the array from UI
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-08-21 10:57 AM
2017-08-21
10:57 AM
Now I would like to have a button to append current values of these fields to some array and display them.
I try to find a way to trigger action of appending current value to the array from UI. Is it possible to trigger some macro from interface or parameter script that would append current value? I want to store this array within gdl object rather than write to file.
Thank you for help,
Maciek
3 REPLIES 3
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-08-21 04:54 PM
2017-08-21
04:54 PM
Related question: Is there a way in GDL to check if some variable changed its value?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-08-22 02:46 AM
2017-08-22
02:46 AM
Maciek wrote:
Related question: Is there a way in GDL to check if some variable changed its value?
if GLOB_MODPAR_NAME = "variable" then ...You need the quotes around the variable name.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-08-22 02:42 PM
2017-08-22
02:42 PM
Thank you Barry. I have tried that but it returns null after you click UI_Button. So it's hard to tell which button was clicked.
If anybody wondered – I ended up up with attached script (will append first custom field from layout info). Need to make these buttons work nicer but it works.
If anybody wondered – I ended up up with attached script (will append first custom field from layout info). Need to make these buttons work nicer but it works.