Apply area name to workset name parameter

I have this ‘elements in room’ node but I am instead looking for an ‘elements in area’ node, does this exist? My aim is to make a script that will apply the area name into the workset parameter of every elements within each area I have drawn
image

@ALUF4EU ,

you can create a “area-shape” and ask whats insite

KR

Andreas
PyAreaLines.dyn (25.8 KB)