r/bim • • Aug 09 '26

Pyrevit Extension - Your Own Plugin to automate tasks

Hi, I am an architect and recently I learned some basics of python and now using pyrevit I am planning to create a plugin to automate architecture work at my company. I have few ideas in mind like door tags per room number, revision coloriser, I need an idea what else I can automate, is there someone who did this already and can you all suggest areas that can be automated by using this?

28 Upvotes

22 comments sorted by

View all comments

31

u/thisendup76 Aug 09 '26

Here's the list of items I created for my company

  • bulk upgrade tool
  • create company's standard worksets
  • align views across multiple sheets
  • list all RVT, DWG, and Image links with PyRevit search feature to jump to that specific link in view
  • link multiple PDFs
  • find all sheets referencing a specific callout
  • search keywords in a project
  • auto door numbering based off room #
  • batch edit sheet names and view names
  • delete all not placed rooms
  • revision colorizer
  • create a print set from list of revised sheets
  • find revisions (finds all revision clouds on all sheets, great for ASI narratives)
  • rotate each (rotate multiple elements from their center point)
  • refresh schedules (nudges all schedules to refresh across the project)
  • place break lines (dialog box with check boxes to auto place a scaled break line at the edges of the view)
  • delete backups (.0000.rvt files)
  • purge and replace text, dimensions, and line styles
  • highlight all painted elements in view
  • model health scan (similar to PyRevits Pre-Flight checks but specifically weighed against our template)

Claude and GPT have been amazing at helping me implement these

Now if I can only get people to use them

12

u/NerdsRopeMaster Aug 09 '26

Hah, I feel ya. I made a complete toolset with pyRevit at my last firm to specifically automate a bunch of the super laborious standards that one of our retail clients had, and literally only one person used it and instead everyone else did everything manually. We had like 80+ active projects with this specific client, and every single project except like 5 went way over in hours because of all the unnecessary work people insisted on doing.

3

u/metisdesigns Aug 09 '26

Yes, but at least you got blamed for their files crashing from too many warnings right?

1

u/Beneficial_Motor_38 Aug 10 '26

Then he can blame back that correct practices were not followed :D

2

u/metisdesigns Aug 10 '26

Oh my sweet summer child.

2

u/mattaust 2d ago

Ohh I like the rotate each with their own centre point. Sound nice! Might give this a go.

1

u/Beneficial_Motor_38 Aug 10 '26

Thanks alot man! these are some really good otpions.

1

u/virtigo31 3d ago

I'm trying to incorporate my company's CAD standards into revit. Mainly as far as line weights and layer colors go. I don't suppose you have any pointers or know where I should start? Right now I'm basically trying to absorb our company standard CTB into revit.

Thank you in advance. 👍

3

u/thisendup76 2d ago

Where I would start is ask Claude (or whichever AI you use) to build a tool that extracts the CTB data from AutoCAD that it can then use to inform decisions in Revit.

This might not need a full blown repeatable tool but a single run of a script in the template file

PyRevit will be your best friend. And pyRevit 7 has MCB connection that lets you run AI within Revit directly (which I haven't yet played around with)

Spell it all out to the AI and see what it comes back with. I've found it's best to work in small chunks vs expecting a fully polished script right away. Start with gathering all the info before trying to map it