I’m working in python and Revit, and I have a list of detail items with a name parameter. I’d like to filter my list down just the detail items where the name contains a partial match for any string in a list of partial matches. I have a working solution, but my intuition is telling me there ought to be
Tag: revit-api
Result of function is returned without changing list items in if-statement
Thanks in advance for your input. I started learning Python today, because I want to define custom Python nodes in DynamoBIM (Revit) to be more flexible if there arenĀ“t predefined / suitable nodes for my tasks in BIM. The PythonScript gets input from input nodes, which are IN[i]. In my case I use 2 bool values (IN[0], IN[3]), 1x str
Adding RevitAPI.dll into a Visual Studio
When I’m adding a RevitAPI.dll file into Visual Studio this message has appeared (The selected component could not be browsed) anyone could support me? Answer Have you manually navigated to the directory containing Revit.exe and selected the Revit API .NET assembly there? Have you set the correct version of the .NET framework? Revit 2021 requires .NET 4.8. If both answers
Accessing Revit API from outside Revit
I’ve used RevitPythonShell and Dynamo, but would like to use my existing Python IDE (Eclipse) where I have my configuration for logging, debugging, GitHub integration, etc. I’m comfortable with transactions and the overall API, and I’ve invested some time in reading about the Revit API and modeless connections, and others asking similar questions. Some of them are a few years