I’m trying to retrieve a value of thermal properties of wall of a revit model. After collecting wall element by FilteredElementCollector, I’m using ThermalProperties class and a property of that ( which in my case is named ‘HeatTransferCoefficient’). My problem is I could not find how to use the thermal properties class, my code is collecting walls but when it comes to thermal properties, I get error.
My code is here:
from Autodesk.Revit.DB import FilteredElementCollector, BuiltInCategory,APIObject,ThermalProperties
doc=revit.ActiveUIDocument.Document
#Collect Walls Thermal Conductivity
X1=FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_Walls).WhereElementIsNotElementType()
X2=ThermalProperties.HeatTransferCoefficient.get(X1)
for x in X2:
XX1=X2
print(X1X1.AsDouble())
The error I get is ‘getset descriptor is not callabel’
Would you please help me out?