Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot read Thermal Resistance from RFA

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
JasonKunkel
902 Views, 2 Replies

Cannot read Thermal Resistance from RFA

I have a straightforward application that works directly in RFA files. It goes through the FamilyTypes, gets all the parameters and their values, then outputs them to Excel.

 

So far everything is working except for values from the parameter Thermal Resistance. The code finds the parameter, and outputs its name, but it refuses to get a value for that parameter. I wondered if it's because it is a calculated value, but cannot find a way to do the calculations myself. What I also find odd is that RevitLookup pulls the value with no problem. I simply want to do the same.

 

Thanks for any input.


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn
2 REPLIES 2
Message 2 of 3

I've never needed to get the thermal resistance from an .rfa, but to get it from a Wall instance "wall" in an .rvt:

 

double thermalResistance = wall.WallType.ThermalProperties.ThermalResistance;

 

In a CompoundStructure (roof, walls, floors, slabs) the thermal resistance is calculated from the thermal conductivity of all of the CompoundStructureLayer. 

 

 

Does that help?

 

-Kevin Lawson, PE
www.rippleengineeringsoftware.com
Revit heating and cooling load calculations in one click!
Message 3 of 3

I marked this as a solution b/c it's good info. It was NOT my actual fix, however. My actual fix is that my code was a mismatch of AsString and AsValueString that over confused the output. Once I cleaned it up it all worked fine.


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report