question

Richard G avatar image
0 Likes"
Richard G asked Richard G commented

findInCode User Command

It would be great to search a model and find any custom code. I found this old forum post that discusses this topic (https://www.flexsim.com/community/forum/showthread.php?t=1149) but I can't download a file from that thread. Does someone has access to Jason Lightfoot's script from that thread? This other post has a code snippet but it looks like Jason implemented something more complete (https://www.flexsim.com/community/forum/showthread.php?t=2094). Thanks in advance!

FlexSim 18.0.1
user commandsearch toolcustom code templatesearch model tree
· 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.

1 Answer

Phil BoBo avatar image
3 Likes"
Phil BoBo answered Richard G commented

Jason's custom search was implemented into standard FlexSim back in version 5.0 in 2010. In FlexSim 5 and 6, it was under main menu Edit > Find/Replace in Tree. In more recent versions of FlexSim, it is the Search section in Quick Properties when a tree view is active. Searching in that UI opens the Find Results view:


find-in-code.png (109.6 KiB)
· 3
5 |100000

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