Using the SDK to get thermal properties of faces

@chris, I need to iterate all surfaces of a model and get their properties like construction R-values.

I’ve found a way that works, but only if the construction was defined explicitly: (25.5 KB)

For the bottom case, I guess I would need to use the SDK to find out what the default construction is as specified in the construction set.

Could you please give me some guidance on how to do this?

@MaxMarschall ,

Don’t cast the object to a dictionary. Just access the property on the Python object with:

Also, you should not be accessing hidden properties (that start with a _) unless you know what you are doing or are prepared for potentially weird behavior. So you should use face.boubdary_condition instead of face._boundary_condition.