Dynamo to refresh screen in revit?


I have created a script that will join all slabs intersecting a specific wall that I select manually. It works fine, but revit shows all the selected elements (the handpicked wall & all floors from “Categories” with a blue outline, or orange if I hide the floor category. (see attached).

This selection remains highlighted in all views, even if I open a new view.
Only when I save and close the model and open it again, will it not display the selection anymore but only the result of the “join” script.

Does anyone have an idea how I can refresh the model?



@janathbdesign That blue line is probably the Dynamo preview? You can disable it from View > Background 3d Preview

1 Like

Thanks Salvatoredragota, that was embarrassingly easy!

1 Like