Run a Script for chosen elements only

Hello everyone, I’m very new and working on a project for my Uni!

My goal is to use my created script for currently selected elements only and I wasn’t really able to find any information if that is even possible? I added a screenshot for easier understanding. I dont want to get the elements via their Category anymore but instead by chosing them manually.

Appreciate any help and thank you in advance!

Select model elements should do the trick.

Thank you, that does it! Easier then expected :smiley:

2 Likes

I have a follow-up question on here: is there a way to chose multiple elements by clicking them and not chosing them via a selection window?

Not sure for Revit but in Civil 3D there is a package, Civil 3D Toolkit, with a node for “Select Objects”. Maybe there is on available in Revit as well

There are a few packages with stuff like “Select Ordered Elements” or “Pick Elements”. Springs nodes comes to mind as a good example.

1 Like

Thank you guys, i’ll check some of them out! Much appreciated

1 Like