question

Kim Jh avatar image
0 Likes"
Kim Jh asked Joerg Vogel commented

Question How to get selected objects (the ones with the red box) by FlexScript?​

I have two Question, please answer

Question 1. How to get selected objects (the ones with the red box) by FlexScript?

Question 2. How to merge two model file(.fsm) into one model file?

FlexSim 16.1.0
flexscriptselected objectscommandsquestion
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

Question 2: your best friend before you ask a question is still the search of a forum. The problem is discussed here and here, too.

1 Like 1 ·
Joerg Vogel avatar image
3 Likes"
Joerg Vogel answered Joerg Vogel commented
· 2
5 |100000

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

Ameen M Shabeer avatar image Ameen M Shabeer commented ·

The link not working, Showing 404 Page not found.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Ameen M Shabeer commented ·

Thanks for mentioning! I have updated the link. Any old community URL can be adjusted to look like: https://archive.flexsim.com/threads/thread1465.html

0 Likes 0 ·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered

Use switch_selected(myobject,1);

  • 0 - set not selected
  • 1 - set selected
  • -1 - return 1 if selected 0 if not.

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.