How to calculate Wall measurements in Revit API

How to calculate Wall measurements in Revit API

Pravin_Lande
Enthusiast Enthusiast
720 Views
1 Reply
Message 1 of 2

How to calculate Wall measurements in Revit API

Pravin_Lande
Enthusiast
Enthusiast

Hi,
We want to calculate the Wall Measurements like Maximum height, Average height, Maximum Length, Average Length of the selected wall from X and Y co-ordinates of all edges of wall.
Kindly suggest how can we achieve this programmatically using Revit API.
Regards,
Pravin Lande

0 Likes
721 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Dear Pravin,

 

Thank you for your query.

 

This is quite simple, really, and The Building Coder shares numerous samples showing how this can be achieved.

 

Actually, most of the discussion there pertain to much more complex issues, such as net versus gross areas etc., because just grabbing the data you mention can be achieved by retrieving the wall element geometry and analysing that as is.

 

For instance, you can look at the following topic group and detailed discussions:

 

 

I hope this helps.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes