# Control the size of scope box

**URL:** <https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585>\
**Category:** Developers\
**Created:** [January 3, 2017, 6:52pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585 "2017-01-03T18:52:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 3, 2017, 6:52pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/1 "2017-01-03T18:52:10Z")

</div>

Hi

is it possible to controle / change the size off the scope boxes with Dynamo?  
is it possible to controle where in revit the scope boxes are placed?

Nico Stegeman

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 3, 2017, 11:37pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/2 "2017-01-03T23:37:16Z")

</div>

The _Modelical_ package has nodes called _Get Scope Boxes_ and _Scope Boxes to Views_ that could maybe help to build a Python script for redimensioning…

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 4:22pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/3 "2017-01-04T16:22:47Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/2/72f13b4038fa1b3510ad58118ebaa405db1c79b4.JPG)

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 4:23pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/4 "2017-01-04T16:23:42Z")

</div>

Hi Yna\_Db

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 4, 2017, 4:43pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/5 "2017-01-04T16:43:36Z")

</div>

Hi, can _RevitBoundingBox.FromDynamoBoundingBox_ generate a scope box in Revit? I think we miss a node between this one and _Scope Boxes to Views_, or not?

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 4:43pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/6 "2017-01-04T16:43:58Z")

</div>

Hi Yna\_Db

I don’t have much experince with Python. I m just getting to know something about visual studio (C#) and Python.

I saw in a topic the following message in a reaction made by Konrad Sobon:

bear in mind that there is virtually ZERO exposed API around them (scope Boxes) so your options are limited to very few things

In Dynamo i found a node called RevitBoundingBox.FromDynamoBoundingBox.  
When i look in de list or watch node dynamo created a revit.DB.BoundingboxXYZ but in revit there is no scope box.  
is a revit boundingbox the same as a Scope Box?

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 4, 2017, 4:48pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/7 "2017-01-04T16:48:10Z")

</div>

No, it’s not, and if I plug an _Object.Type_ node to check, scope boxes appears as unknown objects in Dynamo. But _Modelical_ nodes give us some clues. I’m not proficient in Python yet, but someone else will probably help 🙂

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 4:48pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/8 "2017-01-04T16:48:51Z")

</div>

Yes I miss a node  
A node wich create a scope box  
or change the size off the scope box

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 4, 2017, 4:49pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/9 "2017-01-04T16:49:53Z")

</div>

Gently ask @T_Pover maybe 😌

> [@Edit crop region](https://forum.dynamobim.com/t/edit-crop-region/8323/11):
>
> I just added the node ‘View.SetCropBoxCurves’ to my package ‘MEPover’ that will let you set the crop view regions by a list of curves. The curves need to be in a closed loop ofcourse.

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 4:54pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/10 "2017-01-04T16:54:04Z")

</div>

I am looking also in to the script off Jeremy Tammik  
that will probely have some clues

October 02, 2013  
Set View Section Box to Match Scope Box for Revit 2014

but a the moment its for me abracadabra 🙂

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 4, 2017, 4:58pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/11 "2017-01-04T16:58:05Z")

</div>

As an introduction:  
[http://dynamoprimer.com/en/09\_Custom-Nodes/9-4\_Python.html](http://dynamoprimer.com/en/09_Custom-Nodes/9-4_Python.html)

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 5:08pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/12 "2017-01-04T17:08:12Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [January 4, 2017, 5:14pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/13 "2017-01-04T17:14:21Z")

</div>

To my knowledge, the API does not offer anything for creation or modification of scope boxes geometry.

This means that no matter what programming language you use, it’s probably not going to happen unfortunately.

We are limited by what the Revit API allows. 🙄

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 7:35pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/14 "2017-01-04T19:35:45Z")

</div>

Thanks John

I thought it already after reading different post on the forum about almost the same problems :🙂

PS  
In the API i found that scope box is called volume of interest:  
Autodesk.Revit.DB.BuiltInParameter.DATUM\_VOLUME\_OF\_INTEREST  
Autodesk.Revit.DB.BuiltInCategory.OST\_VolumeOfInterest

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 4, 2017, 9:42pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/15 "2017-01-04T21:42:42Z")

</div>

Duplicating an existing scope box can be done with _Duplicate Element_ from _Data-Shapes_

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 10:29pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/16 "2017-01-04T22:29:14Z")

</div>

indeed  
and now i want to change de size of the scope box

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 4, 2017, 10:30pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/17 "2017-01-04T22:30:00Z")

</div>

and place

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [January 5, 2017, 3:26am UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/18 "2017-01-05T03:26:52Z")

</div>

Well, just so that we can close this issue.

No, you cannot CREATE or MODIFY scope boxes using Dynamo nor any other programming language. Just like @john_pierson said, it was not exposed in the API, hence not available.

Cheers!

---

<div class="post-metadata">

**Author:** ![Nico\_Stegeman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nico_stegeman/32/19204_2.png) [@Nico\_Stegeman](https://forum.dynamobim.com/u/Nico_Stegeman)\
**Post date:** [January 5, 2017, 6:16am UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/19 "2017-01-05T06:16:37Z")

</div>

Thanks Konrad, John and Yna

These anwers saves me a lot of unnecessary time

Lets hope that it is possible in the future

Nico

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [January 5, 2017, 2:52pm UTC](https://forum.dynamobim.com/t/control-the-size-of-scope-box/8585/20 "2017-01-05T14:52:48Z")

</div>

Closed on January 5, 2017, 2:52pm UTC


