Hi All,
From a control script, I am trying to obtain the dollar parameters list associated with a specific panel. I tried using getDollarList() and getDollarParamsFromPanel(), however I always receive a error saying "Function not defined". Any idea why?
If a call any of this functions inside and via a panel everything works fine. I guess this means that these functions only be used in panel and do not work when called via control scripts?Any way to solve this?
Thank you.
Best regards,
Antonio Patricio
getDollarList
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: getDollarList
The functions getDollarList() and getDollarParamsFromPanel() are only working in the UI.
- AMRPatricio
- Posts:61
- Joined: Mon Dec 12, 2016 4:43 pm
Re: getDollarList
Thanks kilianvp. That is what I understood. In my case I need to get such information referring to a panel that is not necessarily running. Any ideas or suggestions?kilianvp wrote: ↑ Wed Nov 17, 2021 10:56 pm The functions getDollarList() and getDollarParamsFromPanel() are only working in the UI.
BR,
Antonio Patricio
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: getDollarList
In the past, I have often packed the function into a panel and started a UI silent. You can start the UI using system().
BR
Kilian von Pflugk
BR
Kilian von Pflugk
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: getDollarList
There is no need to pack the function in a panel nor to start the UI with the system function.
The UI can be started with a script (but no arguments for the script can be specified) with the '-s' option. The UI might not run without a panel, so also a dummy panel might need to be specified.
To run the UI in the background the '-silentMode' option can be used.
Why do you need dollar parameters list in a control script?
The UI can be started with a script (but no arguments for the script can be specified) with the '-s' option. The UI might not run without a panel, so also a dummy panel might need to be specified.
To run the UI in the background the '-silentMode' option can be used.
Why do you need dollar parameters list in a control script?