I posted this over at DynamoNodes a few days ago, but I thought I would share it here.
A questions came up recently on how to make elements aware of what MEP space they are in. Thankfully Dynamo supports python and importing Revit API, so I came up with this little gem.
This node will retrieve the space for all of the input element(s). (if available)
Get Rhythm and enjoy!