Idea

Serge A avatar image
6 Likes"
Serge A suggested Serge A commented

Show node path in the CodeEditor window

I'd like to suggest a small and easy to implement improvement to the Code Editor, show the node path in its status bar:

1665752687054.png

This feature is very helpful in the models where there are many objects with the same structure but different names, or when the code nodes are hidden deep within the model tree. This UI area is not used anyway.

It can be improved one step further by adding an "Explore as Tree" button: useful when you're editing a command, but want to go and update its documentation string or type signature (sibling nodes in the tree), or to find the object you're editing.

Currently I add this feature by monkey patching the FlexSim tree in a custom module by adding a node VIEW:/standardviews/code/CodeEditor/BottomButtons/Nodepath (XML attached) after VIEW:/standardviews/code/CodeEditor/BottomButtons/Sampler.

It would be nice to have it in the default FlexSim installation. Hopefully, it can be added before the next beta, and so may end up in 2023.

CodeEditor_BottomButtons_Nodepath.fsx

feature requestcode editorusability
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 Comment

·
Arun Kr avatar image
0 Likes"
Arun Kr commented

Model crashing when opening in 22.2. Any prerequisite to be done?

· 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.

Serge A avatar image Serge A commented ·
Yes, this particular FSX is for FlexSim 22.0. And it's not a model, just a control for the GUI. It should be injected into the VIEWS tree by creating a module.
0 Likes 0 ·

Write a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.