In one of my previous posts I was showing everyone how you can use Dynamo to parse through an HTML (TXT) file and use it to isolate elements in view. One of my readers made a comment that it would be nice if you could use the same strategy to isolate elements that caused clashes and instead of using warning report to use an interference report. Without further ado, Julien, here it is:
This component will parse the HTML report generated using the Interference Check tool in Revit. Its output will be a list of Element IDs (as strings for now) as well as Total Number of Clashes that were in the Report. Please make sure that you have installed BeautifulSoup and Regular Expression for Python for this component to work. You can use this component with Isolate in View component to isolate elements that caused the clashes. Please see the Isolate in View component description below.
Please see below:
lib_path = r’C:\Program Files (x86)\IronPython 2.7\Lib\BeautifulSoup-3.2.1′
pyt_path = r’C:\Program Files (x86)\IronPython 2.7\Lib’
from BeautifulSoup import BeautifulSoup