Get Type parameter value not used in project (i.e.: Pipe Insulation)

Dear Experts,
I was wondering if it is possible to get parameter value of element which no used in the project. (Predefined values of parameters inside type properties pallete.)
Such as Pipe Insulation Type Parameter. (No any insulation used in the project)
Thanks.

Hi @kvusal,

Try using this python snippet:

import clr

#Import the Revit API
clr.AddReference('RevitAPI')
import Autodesk
from Autodesk.Revit.DB import *

#Import DocumentManager and TransactionManager
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager

#Reference the active Document and application
doc = DocumentManager.Instance.CurrentDBDocument

collector = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_PipeInsulations).WhereElementIsElementType().ToElements()

OUT = collector
1 Like

Type parameters you get directly from the type. No instance is needed. Default values of an instance parameter require you to go through the family document.