Scraping data from Revit - APIs, coding and beyond

Scraping data from Revit - APIs, coding and beyond

Anonymous
Not applicable
937 Views
2 Replies
Message 1 of 3

Scraping data from Revit - APIs, coding and beyond

Anonymous
Not applicable

Hello all!

 

I'm attempting to pull physical property information from a Revit Model (dimensions and resistance values, in particular) and organize that information to be exported as specific variables.

 

To expand slightly, for an independent study I want to perform energy balances on Revit Models, starting simple and building from there. The goal is to write code that collects information from a Revit Model and then organizes it into variables such as "Total Wall Area", "Insulation Resistance", "Drywall depth", "Total Window Area", etc. that could be then sent to a model (or simply a spreadsheet) and stored as such.

 

I hope that makes some sense.

 

Given that I am a novice coder and would prefer to write in Python, does anyone have any advice or resources concerning an efficient (simple) path to go about importing and organizing specific parameters from a Revit model?

 

Is it necessary (or realistically necessary, given the humble extent of my knowledge) to use the Revit API to accomplish this task?

 

A brief background, I have next to no knowledge of Revit or APIs in general, basic knowledge of coding in Python and really want to learn more!

 

Any help you are able to give is absolutely appreciated! I'm also happy to answer any questions that come up.

 

Thank you for reading and have a terrific day!

 

0 Likes
938 Views
2 Replies
Replies (2)
Message 2 of 3

Revitalizer
Advisor
Advisor

Hi,

 

Dynamo may be the tool of your choice:

http://dynamobim.com/forums/forum/dyn/

You can add your own Python script nodes.

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





Message 3 of 3

Anonymous
Not applicable

Revitalizer,

 

Thank you!

 

I am checking out Dynamo, its a rather snazzy looking tool.

 

Ideally I would be able to write code with the least intermediate steps (such as a script I could hand off to someone and with limited instruction and adaptation they would also be able to export the same model data).

 

This tool and the Revit Python Shell seem like excellent starting points to get my feet wet no matter the case, so thank you again!

 

All the best

 

 

0 Likes