Hi Community,
I am trying to extract the physical properties of a material in Revit using Rhino.inside.
What is interesting is that the units of Density or other properties do not match the values in Revit
Any thoughts? I rhino.inside doing a conversion?
Rhino inside version that I am using
Attached is the script as well. If anyone can help me figure it out that would be great. Thanks in advance!
Material Units.gh (10.9 KB)
Japhy
(Japhy)
January 14, 2024, 1:35am
2
Hi Rolando,
The easy answer… convert the kg/lbs
What this actually involves:
Revit has a lot of possible unit types , RiR is outputting the Revit stored units.
Specifically:
Density in Revit is stored in kg/ft3 (kilograms per cubic feet)
UnitWeight is stored in kg/(ft2·s2) (kilograms per square foot per unit of acceleration)
When converting from these internal units to compatible units:
Density: It converts from kg/ft3 to kg/m3 (kilograms per cubic meter)
UnitWeight: It converts from kg/(ft2·s2) to kN/m3 (kilonewtons per cubic meter)
more details here…
https://thebuildingcoder.typepad.com/blog/2016/08/unitutils-converting-units-for-unit-weight.html
Hi Japhy,
Thanks for the response. This works!
@Japhy is there any documentation that shows what units Revit stores of is there a way to see what units RIR is reading from Revit. I am struggling with the Concrete Compression
In this link it shows the posible units but it does not definitely say what are the stored units
Japhy
(Japhy)
January 18, 2024, 8:00pm
5
This changed in 2023+ those versions
Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018
Is this something that could be handled in a Revit Schedule?
Marc
(Marc Gibeault)
January 18, 2024, 8:13pm
6
1 Like
Japhy
(Japhy)
January 18, 2024, 9:49pm
7
Thanks @Japhy this is gold!
Japhy:
Newtons per foot meter
Autodesk!!! Who in the right mind will mix Metric with Imperial?
1 Like