RevitAPI Snippet

Get ViewSheet from a given View

Just a snippet get_sheet_from_view(view) that will return you ViewSheet for a given View with the help of FilteredElementCollector and FilterStringRule.

DWG EF-Tools RevitAPI

Open selected DWG

Add-in for opening selected DWG with 3 options:

EF-Tools RevitAPI Selection

Super Select multiple elements: 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 Snippet

RevitAPI tool: View name to SheetNumber

Here is a snippet of how to rename SheetNumber to be the same as placed view name.

RevitAPI Snippet

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.

RevitAPI Snippet

Match View's cropbox shape.

Snippet: Function to match source view's cropbox shape to another view.

RevitAPI Snippet

RevitAPI: Get Cropbox id with Python.

A snippet of a function to get crop box id from a given view.