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.
Solved! Go to Solution.
Solved by Kevin.Lawson.PE. Go to Solution.
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?
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.
Can't find what you're looking for? Ask the community or share your knowledge.