Posts

Showing posts from November, 2022

(1) Revit plans to Power BI using Dynamo! (Part 1 of 2) - YouTube

(1) Revit plans to Power BI using Dynamo! (Part 1 of 2) - YouTube REvit > SVG to Power BI

Solved: Select all content on level - Autodesk Community - Revit Products

Solved: Select all content on level - Autodesk Community - Revit Products ##https://forums.autodesk.com/t5/revit-api-forum/select-all-content-on-level/td-p/10577273 """ Selects all elements that share the same Reference Level as the selected element. TESTED REVIT API: 2020.2.4 Author: Robert Perry Lackowski """ from Autodesk . Revit . DB import ElementLevelFilter , FilteredElementCollector from Autodesk . Revit . DB import Document , BuiltInParameter , BuiltInCategory , ElementFilter , ElementCategoryFilter , LogicalOrFilter , ElementIsElementTypeFilter , ElementId from Autodesk . Revit . Exceptions import OperationCanceledException # from pyrevit import DB doc = __revit__ . ActiveUIDocument . Document uidoc = __revit__ . ActiveUIDocument from rpw import ui import sys #Ask user to pick an object which has the desired reference level def pick_object (): from Autodesk . Revit . UI . Selection import ObjectTy