question

MarianCretu avatar image
0 Likes"
MarianCretu asked Joerg Vogel edited

Reference to array and bundle

bundle-and-array.jpgHello all,

I have a table that contains number data, bundle data and array data.

How can I read or write in the bundle and in the array ? Please see attached picture. I need to read or write in the marked cells.

Thank you so much.

Regards,

FlexSim 19.1.1
bundle data
bundle-and-array.jpg (236.4 KiB)
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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

The table cell is a node in the tree of FlexSim. You can get the pointer to the cell by the method cell( row, col). The manual shows you, how to set a value. The get operation assigns the value to an appropriate datatype.

Variant myVal = Table("myTableName").cell(row, col).value;

"How to get access to bundle label" has answered @Matt Long.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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