Repeating script through the batch of elements

Hi,
I’ve made a script which is creating a formwork around a colomn, but when I realized that it works only for the one selected element. Is there way to repeat this script through the all selected colomns without significant modifications inder the hood?

Revit_ucpAVLb1gz

Probably yes, but it’s impossible to tell for sure since we can’t see your script

Hi, @Daan
Sorry for delay. Script in attached. I would like to repeat my goal - selection multiple colomns at once.
Revit_rg9ILNxzU9

Revit_1tKHdz5JAS

Colomn formwork.dyn (109.4 KB)

You needed to convert your list of points into groups for each column that could be used as references.


Colomn formwork - Revised.dyn (126.2 KB)