Select multiple elements that stay highlighted

I’m currently using a node from DataShapes to allow for manual selection through UI but the selected elements do not stay highlighted…

I’ve also tried the python-solution from @ c.poupin but this also doesn’t keep my selected elements highlighted. (This was a solution from 4 years ago, so maybe there was a change in the API?)

Here is my script, suggestions are welcome:
Select multiple elements highlighted.dyn (14.2 KB)

Did you check this?

Yes, this option is checked

To me its visible in 3d

I’m talking about the model elements
In this view, I’ve selected multiple, but they are not highlighted as selected…

Hi @Laura_BIMChick if i understand you want keep the selection as here ? not 100 sure
Revit_X1g464O0GI

Whilst selecting, I want to have the selected elements highlighted (before clicking esc), just like in the solution from @c.poupin

Similar to this:

Hi,

no there have been no changes to the API in this code, can you provide an example rvt file where this is a problem ?

Well, that’s kind of an issue, I’m not allowed to share our company families/templates/models…
But let me try on a sample file

1 Like

Okay, so this is weird. When trying it on a Revit sample file (within the same Revit session), the highlights do show up…
I’m baffled as to why it does not work on my own file…