question

Hannah S avatar image
0 Likes"
Hannah S asked Eric M commented

Can you set a model parameter to reference a group of objects?

I tried setting a parameter in the Model Parameters Table to reference a group of objects and it didn't work. Is this feature not supported? Do you have to create individual parameters for each object?1626708680225.png

FlexSim 21.1.4
flexsim 21.1.4groupsmodel parameters table
1626708680225.png (15.9 KiB)
· 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.

Eric M avatar image Eric M commented ·

Hi @Hannah S, was Matthew Gillespie's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

Yes, this is supported. Make sure you get the option in the On Set trigger that says "Set Object Property by Group" instead of just "Set Object Property".

1626717954215.png

The easiest way to do this is to sample the group in the toolbox and choose one of the properties listed there:

1626717904314.png


1626717904314.png (22.8 KiB)
1626717954215.png (14.3 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.