question

Kyle Y avatar image
1 Like"
Kyle Y asked Kyle Y commented

how to use string to refer to object

how to use string to refer to object

like to use "buffer" & "1" refer to object buffer1

FlexSim 19.0.0
string
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

·
Patrick Zweekhorst avatar image
5 Likes"
Patrick Zweekhorst answered Kyle Y commented

Hi @Kyle Y,

You can use the following line of code:

model().find( "Buffer" + string.fromNum( 1 ) )

· 1
5 |100000

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

Kyle Y avatar image Kyle Y commented ·

Thank you Patrick. Sorry for late reply.

0 Likes 0 ·

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.