# Scope Boxes - selecting/manipulating creating a list

**URL:** <https://forum.dynamobim.com/t/scope-boxes-selecting-manipulating-creating-a-list/836>\
**Category:** Packages\
**Created:** [December 18, 2014, 4:06pm UTC](https://forum.dynamobim.com/t/scope-boxes-selecting-manipulating-creating-a-list/836 "2014-12-18T16:06:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian\_Crisan](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Adrian\_Crisan](https://forum.dynamobim.com/u/Adrian_Crisan)\
**Post date:** [December 18, 2014, 4:06pm UTC](https://forum.dynamobim.com/t/scope-boxes-selecting-manipulating-creating-a-list/836/1 "2014-12-18T16:06:58Z")

</div>

Hello - I’m looking at generating a list of Scope Boxes in a project and programmatically manipulating specific Scope Boxes.

I could not find any information on this.

Anybody can suggest anything on this subject?

Thanks!

---

<div class="post-metadata">

**Author:** ![Andreas\_Dieckmann](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andreas_dieckmann/32/365_2.png) [@Andreas\_Dieckmann](https://forum.dynamobim.com/u/Andreas_Dieckmann)\
**Post date:** [December 19, 2014, 2:22am UTC](https://forum.dynamobim.com/t/scope-boxes-selecting-manipulating-creating-a-list/836/2 "2014-12-19T02:22:55Z")

</div>

I don’t think there’s built-in functionality for this. You would need to code that yourself with a Python node.

---

<div class="post-metadata">

**Author:** ![Thomas\_Holth](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Thomas\_Holth](https://forum.dynamobim.com/u/Thomas_Holth)\
**Post date:** [December 19, 2014, 2:57am UTC](https://forum.dynamobim.com/t/scope-boxes-selecting-manipulating-creating-a-list/836/3 "2014-12-19T02:57:17Z")

</div>

Hi

I’m just looking at the same thing. I try to find some methods or properties in the Revit API I can use, but until now I haven’t found anything.

You can get the edge curves of with the Element.Geometry node, and from there you can get some information. I have made a simple definition which finds the orientation and center point based on these curves, but I relies on that the order and direction of the curves are the same for each scope box, which I do not know if it’s the case. I does seem to work for the scope boxes I tried until now. The definition only accepts one scope box at the time for now…

I don’t know how to manipulate the scope boxes, apart from using the ElementTransformUtils methods in the API like move and rotate.

[ScopeBox.Query](http://dynamobim.com/wp-content/uploads/forum-assets/thomas-holthdark-no/12/19/ScopeBox.Query_.dyf) ![141219-090940](http://dynamobim.com/wp-content/uploads/forum-assets/thomas-holthdark-no/12/19/141219-090940-300x230.png)

---

<div class="post-metadata">

**Author:** ![Thomas\_Holth](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Thomas\_Holth](https://forum.dynamobim.com/u/Thomas_Holth)\
**Post date:** [December 19, 2014, 3:10am UTC](https://forum.dynamobim.com/t/scope-boxes-selecting-manipulating-creating-a-list/836/4 "2014-12-19T03:10:22Z")

</div>

And, you can have a look at this article for some more information:

> **[Set View Section Box to Match Scope Box for Revit 2014](http://thebuildingcoder.typepad.com/blog/2013/10/set-view-section-box-to-match-scope-box-for-revit-2014.html)**
>
> A year ago, we looked at setting the view section box to match its scope box, in particular: How to retrieve the exact geometric location, size and orientation of the scope box. How to set the exact geometric location, size and orientation of the 3D...

---

<div class="post-metadata">

**Author:** ![Adrian\_Crisan](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Adrian\_Crisan](https://forum.dynamobim.com/u/Adrian_Crisan)\
**Post date:** [December 19, 2014, 8:32am UTC](https://forum.dynamobim.com/t/scope-boxes-selecting-manipulating-creating-a-list/836/5 "2014-12-19T08:32:45Z")

</div>

@ Andreas - thanks for reply. Python is fine, I’ll look into.

@ Thomas - thanks for posting. I’ll look at the Dynamo file and see what can be improved/moved forward.

As for Jeremy Tammik’s blog, I’m reading that in a daily basis - thanks for the link though!
