question

Tmaclean avatar image
0 Likes"
Tmaclean asked Jeanette F commented

Find all references

Is there a way to quickly find all the references to an object in the model?

In Witness I can right click on anything (machine, conveyor, variable etc..) and select "Used" it will pull up a window showing every time that object is referenced in the model (input/output rules, the equivalent of triggers, etc..)

This is incredibly useful for debugging complex models, especially if someone else built the model or if you haven't worked on it for a while.

FlexSim 24.2.2
references
· 4
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 ·

@Tmaclean, as far as I know, no, you cannot. You can try to use the search tool to find strings in names or source code. Maybe you can get a similar result if you load your model into an IDE.

You can use Debug Tools event list and event log to find objects in current model run being addressed in events.

0 Likes 0 ·
Tmaclean avatar image Tmaclean Joerg Vogel commented ·
Thank you - I did not know that this was possible. How arduous is the process of loading in/out of an IDE? Is there a tutorial for this?
0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ Tmaclean commented ·

Hi @Tmaclean,

Here is a link to the documentation regarding connecting to FlexSim using Python and other types of coding languages.

Connecting to External Code

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Tmaclean,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers