Tag: Python
-
Get All Loadable Family Categories in Revit
During the process of developing a custom family browser for the BIMicon Toolbar, the following question surfaced; how can we classify which family categories can be loaded and which others were system families? In other words, what are the all loadable family categories in Revit? Well, for a quick enumeration I went to Dynamo and…
-
Easy batch print in Revit!
I must confess that I was asking myself how hard it is to batch print sheets that have a specific parameter when I was pressing Ctrl + P a few years ago. And the question usually became grief when there were a huge number of sheets to issue. Oh, dear! Practical case for batch print…
-
Kickstart Python For Revit API (3)
Promise, this is the last post about Python abstract concepts and basics. Also, this is the most important lesson, it will explain the tools that will allow you to write useful code and apply it to Dynamo. The flow of execution In Python, the order of execution follows a linear pattern; it runs the first…
-
Kickstart Python For Revit API (2)
After a brief introduction to some of Python’s basic elements, this post will introduce some more handy elements to use in Dynamo and it will serve you well in any other application that uses Python. Python data types and data structures: A continuation of the basic data types, here is some new elements that allow…
-
Kickstart Python for Revit API (1)
Learn about valuable and basic programming concepts in Python like expressions, values and operators that will help you develop better plugins with Revit’s API.
-
Create your own Revit tab in the ribbon
pyRevit allows us to create a customized toolbar, and in this post, we will see how this can be achieved. And best of all, no code compilation involved, chunks of code can be tested right away.
-
Auto dimension Grids in an exciting way
Placing grids dimensions in every view can be a tedious task but we can automate it! So here goes this Python script:
-
Fill in ‘Drawn By’ on sheets with Revit Python Shell
More often than not, drafters or modelers forget to fill in Drawn By or Checked By on the sheets due to lack of time and fast approaching deadlines.
-
Introducing Revit Python Shell
Revit Python Shell, RPS, is a useful, a really useful tool to test Python scripts live. You can run what you type in the console to see the results and debug in a terminal as if it is in a Python console.
-
Introduction to pyRevit
[pyRevit] allows you to use tools like Make Pattern that will save you heaps of time creating fill patterns directly inside Revit or Set Revisions on Sheets or Print Ordered Sheet Index.
-
What programming language should you choose? For Revit
A common question that I find myself answering often is: what should I learn to automate tasks and create my own Revit tools? Usually, my answer goes on and on for at least 15 minutes, and if the lucky listener is still interested afterward, I would jump to the second part of my answer sharing…
-
Delete or Move Revit Backups
Removing Revit backups for families and project files can be, sometimes, a bit tedious. If you have folders and subfolders with tons of families or not work shared projects, backups can take a big portion of the storage and make it hard to find what you need.