In this video I make a schedule that calculates the weight of ductwork on a level. The same process can be used on pipe, as well as for other parameters (cost, etc).
This skill is really versatile – you can do a lot of different things with an ability to make intelligent takeoff schedules in Revit.
Source