Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Revit Data Monitoring

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
353 Views, 4 Replies

Revit Data Monitoring

Hello all,

I want to monitor the data present in model using excel sheet. Like if I am designing wall in the model, it should reflect in excel at the same time. And so on for roofs, floors, windows etc. Some may suggest to create the schedule and then extract it using add-ins, but I don't want that. I want to run it parallel. Don't want to stop modelling and then creating schedule followed by extraction. Any suggestions how to do it? 

4 REPLIES 4
Message 2 of 5
jeremytammik
in reply to: Anonymous

You can use the DocumentChanged event:

 

http://www.revitapidocs.com/2017/988dd6cf-fcaa-85d2-622d-c50f13917a13.htm

 

It is designed specifically to keep an external database synchronised with the Revit BIM.



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

Message 3 of 5
Anonymous
in reply to: jeremytammik

Thank you Jeremy.

Instead of building an add-in, is it fine to use Macro? Can macro run by itself after every change in model and update the excel?

 

Message 4 of 5
jeremytammik
in reply to: Anonymous

Dear Billy,

 

Yes, sure, a macro can subscribe to the DocumentChanged event just as well as an add-in.

 

Cheers,

 

Jeremy



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

Message 5 of 5
IbrahimNaeem
in reply to: Anonymous

I believe the idea of monitoring the model changes with excel as continuous synchronization would have performance impact on your work!

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community