Room Boundary Lines - Work Plane

revit
dynamo

#1

Is there a possibility to read the workplane or the host level of the Room Separation lines ? For instance when there are multiple levels very close to each other and the Room Separation lines are placed in the respective levels, its hard to find them in the floor plans when not looked in to the right Level.

Hoping there should be a way to do this


#2

See these maybe…



#3

Totally forgot about this problem. After digging few forums found that the every “Lines” category is drawn on Sketch Plane, so one could know the level of the “Room Separation” Lines using the “SketchPlane.Name” function.

roomLine = UnwrapElement(IN[0])
OUT = roomLine.SketchPlane.Name