jeremytammik / RevitLookup

Interactive Revit RFA and RVT project database exploration tool to view and navigate BIM element parameters, properties and relationships.
http://thebuildingcoder.typepad.com
MIT License
1.03k stars 294 forks source link

Mep section methods support added #192

Closed SergeyNefyodov closed 7 months ago

SergeyNefyodov commented 7 months ago

Summary of the Pull Request

Adding support of 4 methods of MEPSection class

Now user can analyze MepSection and its elements in Revit Lookup. My commit has 3 methods with clean code. but I have a problem with GetSegmentLength method. It throws exceptions if we invoke it with argument which is not pipe or duct. But we have only ElementId, so I didn't find any way to recognize it and decided to use try-catch block.

Quality Checklist