# Extracting Viewport Outline

**URL:** <https://forum.dynamobim.com/t/extracting-viewport-outline/5547>\
**Category:** Developers\
**Tags:** revit, steamnodes, python\
**Created:** [August 11, 2016, 3:38am UTC](https://forum.dynamobim.com/t/extracting-viewport-outline/5547 "2016-08-11T03:38:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azubike\_Ononye](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/azubike_ononye/32/23113_2.png) [@Azubike\_Ononye](https://forum.dynamobim.com/u/Azubike_Ononye)\
**Post date:** [August 11, 2016, 3:38am UTC](https://forum.dynamobim.com/t/extracting-viewport-outline/5547/1 "2016-08-11T03:38:39Z")

</div>

Hey Guys,

I am trying to extract the crop outlines on a series of viewports. Since the get View.ViewportBoxCenter node from steamnode allows me extract the center point, i believe there should be away to extract the bounding box form manipulation in dynamo to properly space views on sheets. I replaced the loc.append(v.GetBoxCenter()) with GetBoxOutline, that way i was able to extract the Autodesk.Revit.DB.Outline. I am a “python noob” so i am not sure how to move forward. Please help.

Thanks.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/9/9c8c0fbfb35e542f399b79f4235ebce3711534fd.png)
