To find outside walls in Revit using the API in C#, you can follow these steps:
FilteredElementCollector class and OfCategory method:main.cs194 chars3 lines
Function property. Walls with Function property set to Exterior are considered as outside walls:main.cs650 chars22 lines
outsideWalls list will contain all the outside walls in the Revit document.Note: This code assumes that the outside walls have their Function property set to Exterior. If there are other ways to identify outside walls, then the code needs to be modified accordingly.
gistlibby LogSnag