acerShort"></span><span class="highlight-keyword">import</span> Autodesk.Revit.DB <span class="highlight-keyword">as</span> DB
<span class="highlight-spacerShort"></span><span class="highlight-keyword">import</span> RhinoInside.Revit.Convert.System.Drawing
<span class="highlight-spacerShort"></span>clr.ImportExtensions(RhinoInside.Revit.Convert.System.Drawing)
<span class="highlight-spacerShort"></span>
<span class="highlight-spacerShort"></span>rectangle = revit_rectangle.ToRectangle()    <span class="