Chehade Kassouf
Chehade Kassouf

Reputation: 21

Read Revit Schedule data using design automation API

I am planning to read schedule data from Revit files like (room schedule or door schedule). is there an example doing so using design automation api for revit.

Upvotes: 0

Views: 497

Answers (3)

Chehade Kassouf
Chehade Kassouf

Reputation: 21

I used Rahul Link and made a very nice Schedule AddIn that work on BIM 360 Docs. One note i beleive you might face is when you get the " 403 error Maximum number of items exceeded" when uploading the bundle. the error was attributed to sending the file as a parameter. The resolution was reading the file into memory first then pass it as form-data.

Upvotes: 0

Jeremy Tammik
Jeremy Tammik

Reputation: 8339

The simplest, clearest and most comprehensive sample I have to offer on accessing schedule data is provided by the article on The Schedule API and Access to Schedule Data.

Unfortunately, it predates DA4R, design automation for Revit.

Happily, you can easily adapt it by following the steps described in The Building Coder topic group on DA4R – Design Automation for Revit.

Upvotes: 0

Rahul Bhobe
Rahul Bhobe

Reputation: 4451

We have some basic very basic samples that you can extend to achieve what you want. Any Revit API defined in the Autodesk.Revit.DB should work in Design Automation for Revit.

Code Samples (look for CountDelete and SketchIt)

Postman Tutorials

Advanced Tutorials

Upvotes: 0

Related Questions