Extract analytical properties of Revit Windows element

Hi everyone,

In my work, I need to extract the analytical properties (U-Value, solar heat gain coefficient, visual light transmittance) of a Revit window with Grasshopper and Rhino.Inside.Revit. The properties are available in Revit as shown in the picture below

Since the Analytical properties are type parameters in Revit, I used “Inspect element” directly on the window type. However, somehow the value is still not correct. As you can see in the picture, it gives out 0.00004 instead of 3.6886 W/(m2.K).

Do you have any idea how this happened and how to extract the correct value of U-value?
Thank you in advance
Best regards,

There was a major change starting in Revit 2022 in this regard. https://thebuildingcoder.typepad.com/blog/2021/06/forgetypeid-and-units-revisited.html#4


Hi, @Viet_C,

I use something like this for these cases, but I know it is not ideal because if you do not realize about it, you may get errors and you see them too late. I just have a “list” of the parameters that may have this issue.

Extract analytical properties.gh (16.1 KB)

I hope it helps.


Thanks @fcegnam,
I would follow the same approach to extract the U-value