Pick chain of elements


#1

Revit allows the user to hit tab to select a bunch of walls or lines at once that are connected together as chain. Is there any similar functionality within any pick or select model elements nodes?

I’ve tried OOTB, Rhythm, Data-Shapes nodes and also looked at the API but no luck.

_SelectChain


#2

Here’s the behaviour of Pick Model Elements node in Rhythm. Here tab key doesn’t work.

_PickModelElements


#3

From what I can tell, there’s nothing like it in the API. Your best bet is to select the nodes in Revit using tab selection and then use something like “Collector.CurrentSelection” from spring nodes.

Alternatively, consider selecting one edge and then iterating through all curves/elements in the project, adding the ones that are geometrically touching.


#4

Thanks, yeah I have used the first way. Now user has to select the lines before running the script. But I wasn’t quite happy with that.

I’ll give the other way a shot. Thanks again for the input.


#5

For the “other way” I suggest to use the Group Curves node from Archi lab. Here is an example: Select connected elements


#6

I normally do it by Tab selecting what I want then hit “HI” (hot key for Hide Isolate) then use the selection box and drag it over the whole screen. It takes a second to Hide everything else (depending on project size) but seams to work well.


#7

To illustrate @Dimitar_Venkov and @Einar_Raknes ‘touching element’ workflow (or at least a variation of it)