RevitAPI: Get/Create FilledRegionType
There is no method to create new FilledRegionType. But it does not mean we can not duplicate existing one and adjust its parameters. Read More if you want to see how to Get or Create FilledRegionType.
Revit API: Isolate Elements
There is no method to permanently isolate elements. So I will show you how to use .Excluding method of FilteredElementCollector to hide everything except elements we need.
Revit API: Get Solid Fill Pattern
Learn how to get Solid Fill Pattern. It can be useful in creating Graphics Override Settings.
Copy Elements with Revit API + Python
This article will show you how to CopyElements using Revit API and python. There are 3 CopyElements methods to choose from and I have examples for all of them included!
Get TitleBlock from Sheet Views.
Function to get TitleBlocks from ViewSheet with ElementParmaeterFilters(rule)
Create Views with Revit API + python
We need to create Views for many different tools. You will learn how to get correct ViewTypes and how to create views.
SetElementOverrides with Revit API + python
You will learn how to override graphics of your elements in a view with Revit API + python. It's actually quite simple, even though we need to use many methods to create settings!
Revit API: Get Elements or Types by Type/Family name
Here you will learn about getting Elements,Type or Family by providing a Type or Family Name.
Revit API: How to change associated Level in Walls?
Check out this snippet with explanation to change top and base constraints of a Wall.
Get Warnings with RevitAPI
How to get Warnings and associated elements with Revit API + Python.
How-To Offset CropBox of ViewPorts with Revit API
Change CropBox of your selected views on sheet with Revit API and python.
How to Get All Categories in Revit API?
This is not complicated by any means. In fact it's just a single line to get all of them, and then we can filter down to any category with list comprehensions. Check my examples with Revit API + python.
Get ViewSheet from a given View
Sometimes you might want to get a Sheet of your Active view, or any other. Check out this snippet of a function that will return ViewSheet of any given View.
Select Multiple Types: in View/Model
Have you ever tried selecting a few elements with different types, clicking on your favorite shortcut SS/SA to select all and saw nothing happened? Well, here is your dream tool in Python.
RevitAPI tool: View name to SheetNumber
Here is a snippet of how to rename SheetNumber to be the same as placed view name.
Update ProjectBrowser with RevitAPI
Have you ever changed SheetNumber with RevitAPI to find out that nothing happens, at least visually? Revit does not update ProjectBrowser with SheetNumber change. I will show you how.
Match View's cropbox shape
Do you want to match CropBox of one view and apply it to many others? Here is a Snippet with a function to do so.
RevitAPI: Get Cropbox id with Python.
A snippet of a function to get crop box id from a given view.