2010-01-22 09:58 PM
VALUES "displayCategories" categoryTitleswhere categoryTitles is an array variable that holds text data. This command works, and I can get a pull down list of the categories. However in the 2D script, when using the code
TEXT2 0, 0, categoryTitles[1]nothing is displayed. I am attaching the object and hoping someone might be able to figure out what I am overlooking.
2010-01-22 11:11 PM
2010-01-22 11:43 PM
2010-01-23 01:07 AM
2010-01-23 05:24 AM
2010-01-23 09:58 AM
2010-01-23 12:18 PM
Michael wrote:The parameter script only runs in response to a change, e.g. the user edits a parameter, and prior to displaying parameters to the user, e.g. in the UI. It is not run prior to the 2D script.
In the Parameter Script, I am using the commandVALUES "displayCategories" categoryTitleswhere categoryTitles is an array variable that holds text data. This command works, and I can get a pull down list of the categories. However in the 2D script, when using the codeTEXT2 0, 0, categoryTitles[1]nothing is displayed.
2010-01-23 04:47 PM
Ralph wrote:This is excellent advice. By making the execution explicitly user controlled you not only avoid performance problems, you also eliminate concern over whether the list is updating. I have used a similar device to reset some of the default parameters of a complex part.
I would have a user-activated mechanism that triggers the parameter script to read the XML and store the data in parameters to be used elsewhere.
2010-01-24 04:58 AM