question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Felix Möhlmann commented

Assigning Pointer Data For More Rows In Schedule

@Matthew Gillespie

I like the way you defined location name in terms of pointer data in schedule table itself.

How to Set Overflow Location Logic Based on Chair Availability? - FlexSim Community

It looks more scalable in this way. But I think I have to use picker for every row after assigning pointer data to cells. It will be much difficult to do it for more number of rows (1000) having multiple location.

What is the best way to do it?

Thank you!

FlexSim 21.0.10
locationhcschedulepointer data
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

You don't have to use the picker. If the entered values are all the same or follow a regular pattern, you can copy and paste blocks of previous cells.

copypaste.gif

You can also use code to assign values to the schedule. An example is provided in the script window of the attached model.

As is, the code assigns "RegularChair" to each cell in the fifth column. You could also modify it to assign different values depending on some condition, for example the value in another row.

1651135490812.png

test13-chairs_1.fsm


copypaste.gif (184.4 KiB)
1651135490812.png (43.4 KiB)
test13-chairs-1.fsm (274.5 KiB)
· 7
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.