question

Aaron C avatar image
0 Likes"
Aaron C asked Jason Lightfoot commented

How do you get a reference to the 3D Model view?

FlexSim 19.1.0
flexscriptviewreferencefollow objectsfirst person
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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Jason Lightfoot commented
· 6
5 |100000

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

Jacob Gillespie avatar image Jacob Gillespie ♦ commented ·
0 Likes 0 ·
Aaron C avatar image Aaron C commented ·
0 Likes 0 ·
Cass Z avatar image Cass Z commented ·
Hi, @Matthew Gillespie ,

May I ask where to put the codes at? Thank you

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Cass Z commented ·
@Cass Z What are you trying to do?
0 Likes 0 ·
Cass Z avatar image Cass Z commented ·
so in my model, the source "on creation" triggers different labels on different boxes, and I want to follow one specific type number. Thank you
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Cass Z commented ·
Then you're going to put the code in the source oncreation trigger I guess or at the point you want to set the follow. If you have multiple objects of the follow type then you might want to set a global variable to the item you're following and then only activate the follow on a new items and set the variable again, when the global variable is NULL.
0 Likes 0 ·