Finding an element displayed in a diagram in the model explorer, is it possible?


#1

Hi,

Let’s assume I select a model element in a diagram.
Now, is there a simple way to highlight (and jump to) the corresponding element in the model explorer?

Cheers,

Jozsef


#2

Hi Jozsef,

You can right click on the element in diagram and select Selection > Select in Tree to show it in the Model Explorer. Feel free to contact me for any questions and have a good day!

Best regards,
Rain Wong


#3

Thanks ! J.


#4

Hi Jozsef,

You’re welcome. Feel free to post again if you have any questions.

Best regards,
Jick Yeung


#5

This does not work for me. I select a class in a class diagram, then select Selection > Show in Tree, and nothing happens. The Model Explorer does not open, and if I hover over it to expand it, the previously selected item is highlighted, not the element (here class) I am trying to find. (I’m using VP 15.0).


#6

Hi Dennis,

I just checked and confirmed this isn’t working when the Model Explorer is in auto-hidden state. Before we fix this problem, you can first click the Toggle auto hide button on the pane to ensure it is visible before using the select in tree function. We are sorry for the inconvenience caused.

Best Regards,

Antony.


#7

I have one minor additional comment. What you proposed works, the model element is selected when the Model Explorer is permanently open. However, because the ME isn’t selected, the highlight color of the selected, found, element, is so faint that the element is nearly indistinguishable from the elements around it. Could the disabled-window background color be enhanced so that it is not as bright as the dark blue used when the ME is selected, but still better serves the purpose of making the element immediately apparent? Or perhaps because you are trying to make use of the ME, it could automatically be selected, achieving the same goal?

I appreciate the quick response to my earlier question!


#8

Hi Dennis, I have forwarded your comment to our engineers to check how the select in tree behavior can be enhanced. We will keep you posted when the fix/enhancement is available. Thank you very much!