1import clr
2
3#Import the Revit API
4clr.AddReference('RevitAPI')
5import Autodesk
6from Autodesk.Revit.DB import *
7
8#Import DocumentManager and TransactionManager
9clr.AddReference('RevitServices')
10import RevitServices
11from RevitServices.Persistence import DocumentManager
12
13#Reference the active Document and application
14doc = DocumentManager.Instance.CurrentDBDocument
15
16collector = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_PipeInsulations).WhereElementIsElementType().ToElements()
17
18OUT = collector
19