interference report parsing with dynamo

Interference Report Parser

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:

Interference Report Parser in action.
 

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’

sys.path.append(lib_path)
sys.path.append(pyt_path)

from BeautifulSoup import BeautifulSoup
import re

Good luck!

Support archi-lab on Patreon!

2 Comments

  1. ridah behardien says:

    Hi,

    Where can i download the script for this?

Reply to Konrad K Sobon Cancel Reply