Empty rows in parameters table

Empty rows in parameters table

patrick_zweekhorst
Advocate Advocate
76 Views
4 Replies
Message 1 of 5

Empty rows in parameters table

patrick_zweekhorst
Advocate
Advocate

[ FlexSim 24.0.1 ]

Hi @Jordan Johnson ,

Some of our customers and we are sometimes using empty rows in Model Parameter Table to structure the table a little bit. So something like:
1709214284176.png
This all works like we expect it to work, except for the experimenter. When using the experimenter the following exception is thrown:

FlexScript exception: Setting rank property on node to invalid number at MAIN:/project/library/Experimenter>behaviour/eventfunctions/refreshScenarioTable

This happens when selecting the parameters you want to use in the experiment.


Would it be possible to let the experimenter work with these empty rows or is this just something that should not be done?

Thank you in advance,

Patrick

0 Likes
Accepted solutions (1)
77 Views
4 Replies
Replies (4)
Message 2 of 5

JordanLJohnson
Autodesk
Autodesk
Accepted solution

Please avoid making blank rows for now. There are many, many places that assume that every row in a Parameter table is a valid parameter with a unique name. This includes the Experimenter, not only in the view as you discovered, but also in the database logic, and probably in the Performance Measures window logic, and likely many other places.

I will add an item to the dev list regarding this issue.

.


Jordan Johnson
Principal Software Engineer
>

Message 3 of 5

joerg_vogel_HsH
Mentor
Mentor
@Patrick Zweekhorst ,If it couses such problems, then any blank parameter can be replaced by a name for those parameters, which make it even stronger a section line like "xxxxx1xxxxx*.
Message 4 of 5

patrick_zweekhorst
Advocate
Advocate
@Jordan Johnson , @Joerg Vogel

Thank you both. I will probably make a script to give all the empty names a unique name, something like xxxxxMachineSettingsxxxxx

0 Likes
Message 5 of 5

jason_lightfootVL7B4
Autodesk
Autodesk
Instead of using separated sections of one table you could also use additional parameter tables with names to match your section descriptions.
0 Likes