Here’s a quick look at the new FilledRegion.Create syntax in the Revit 2013 API. Filled Regions are often created manually for thermal assembly elevations, a process which is usually frustrating and always tedious. The intention here is to automate the creation of filled regions for thermal assembly sheets.
Ideally this whole process would be automated within Revit, but we’re more familiar with Grasshopper programming. If any programmers have an idea for keeping this process in Revit, we’d be interested in hearing your thoughts (this would most likely require projecting wall profiles onto active view planes). What we have now is a bit of a workaround, but it’s worked well as a starter project for connecting Grasshopper and Revit with Python.
Process: A 2d dwg elevation is first imported into Rhino from Revit. If a surface pattern is applied to a material in Revit, a hatch will be exported with the .dwg. A GH script then breaks down these hatch patterns into layers for each hatch pattern type. The script then draws a border around these hatch patterns. This gives us the curves that will generate the filled regions for each thermal assembly. Using Python for Grasshopper and the Revit Python Shell, the two scripts interact with each other through an Excel table.