Multiple inputs (*args)

Hi, I’m trying to create a routine that needs to select some Revit elements. I’m selecting the elements by category and then filtering them by family. The problem is that sometimes more than one family is used within the same category in some projects.
Is there a way to create a routine with an input that could accept either a single family or multiple families if necessary?
Something similar to *args in Python.
Or any other solution?

Datashapes package with a listview input to pick family(s) from is probably the most practical approach.

1 Like