# Edit crop region

**URL:** <https://forum.dynamobim.com/t/edit-crop-region/8323>\
**Category:** Revit\
**Created:** [December 18, 2016, 12:36pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323 "2016-12-18T12:36:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamedsafy](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mohamedsafy](https://forum.dynamobim.com/u/mohamedsafy)\
**Post date:** [December 18, 2016, 12:36pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/1 "2016-12-18T12:36:51Z")

</div>

Hello  
im new to dynamo , i was searching how to edit crop region by dynamo to use it to produce sheets by dynamo

in another way , i want to make constant crop region for all the views that i assign to sheet by dynamo

thanks in advance

---

<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:** [December 18, 2016, 12:51pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/2 "2016-12-18T12:51:29Z")

</div>

Hello, this could probably help for a start:  
[http://dynamobim.org/forums/topic/get-cropbox-element-from-a-view-element/](http://dynamobim.org/forums/topic/get-cropbox-element-from-a-view-element/)

> **[Automatic Element View Generation in Revit with Dynamo](https://revitbeyondbim.wordpress.com/2015/10/15/automatic-element-view-generation-in-revit-with-dynamo-3/)**
>
> During this really busy period and in between lots of preparation work for my Autodesk University 2015 classes, I finally found some time to explain you how Dynamo can help you automate the generat…

---

<div class="post-metadata">

**Author:** ![mohamedsafy](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mohamedsafy](https://forum.dynamobim.com/u/mohamedsafy)\
**Post date:** [December 19, 2016, 7:42am UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/3 "2016-12-19T07:42:01Z")

</div>

thank you for replying  
but im looking for how to edit this crop box dimension and location , copy it and assign it to multiple views , also doing the same thing to elevations and sections views

---

<div class="post-metadata">

**Author:** ![mohamedsafy](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mohamedsafy](https://forum.dynamobim.com/u/mohamedsafy)\
**Post date:** [December 20, 2016, 3:04pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/4 "2016-12-20T15:04:37Z")

</div>

Hello  
i searched again for a solution but i still got no clue , does anyone has any idea yet ?

---

<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:** [December 20, 2016, 3:08pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/5 "2016-12-20T15:08:32Z")

</div>

Yes, sure, the idea here is that someone could help you to build your own graph or give you some clues to do it by yourself. Could you please drop some screenshots then? Thanks 🙂

> [@How to get help on the Dynamo forums](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677):
>
> One of the main goals of the Dynamo community is to help others. One way to do that is by answering your questions. But to get the right answer, you’ll first have to ask your question in the right way. Although people are generally very helpful, there are things you can do to improve your chances of getting good and quick answers. Below you will find some suggestions on how to achieve that. Do not think of these suggestions as rules and especially do not take them as a guarantee of getting an an…

---

<div class="post-metadata">

**Author:** ![mohamedsafy](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mohamedsafy](https://forum.dynamobim.com/u/mohamedsafy)\
**Post date:** [December 20, 2016, 3:12pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/6 "2016-12-20T15:12:05Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/f/8f9e2eebe129c26e6bb8437688be1bd72d09bc77.png)

look i want to control these parameters by dynamo nodes  
in other words to specify the exact crop region dimensions and assign them to multiple views

---

<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:** [December 20, 2016, 3:34pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/7 "2016-12-20T15:34:51Z")

</div>

All I can find are nodes into _SteamNodes_, _Rhythm_, _Bakery_ and _Clockwork_ packages. Once those loaded, you’ll find them easily by typing “crop view” in the search field…

---

<div class="post-metadata">

**Author:** ![mohamedsafy](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mohamedsafy](https://forum.dynamobim.com/u/mohamedsafy)\
**Post date:** [January 4, 2017, 8:13am UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/8 "2017-01-04T08:13:21Z")

</div>

they only work with 3d crop region  
but thank you alot for your concern i really appreciate it  
i hope that some one could develop custom node to this issue soon

---

<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:56am UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/9 "2017-01-04T09:56:42Z")

</div>

_View.ResizeCropBox_ from _Clockwork_ works for me in section view too, it could be a good start to reach what you need. See here to get started:  
[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:** ![Joseph\_Peel](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@Joseph\_Peel](https://forum.dynamobim.com/u/Joseph_Peel)\
**Post date:** [January 4, 2017, 10:24am UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/10 "2017-01-04T10:24:51Z")

</div>

Why not just make a scope box with the right dimensions and then set the scope box for each view with dynamo?

---

<div class="post-metadata">

**Author:** ![T\_Pover](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/t_pover/32/19147_2.png) [@T\_Pover](https://forum.dynamobim.com/u/T_Pover)\
**Post date:** [January 4, 2017, 1:51pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/11 "2017-01-04T13:51:52Z")

</div>

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.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/5/b5396c55526ef49ade7ced5ddb5839b366b397a0.png)

---

<div class="post-metadata">

**Author:** ![mohamedsafy](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mohamedsafy](https://forum.dynamobim.com/u/mohamedsafy)\
**Post date:** [January 4, 2017, 2:06pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/12 "2017-01-04T14:06:26Z")

</div>

Thank you T\_Pover  
can you make a screen about how it works ?  
i tried but i failed  
thank you in advance

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/c/fc18ddbd6e98205f53850683e2a3a738c9bc8a82.png)

---

<div class="post-metadata">

**Author:** ![T\_Pover](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/t_pover/32/19147_2.png) [@T\_Pover](https://forum.dynamobim.com/u/T_Pover)\
**Post date:** [January 4, 2017, 3:03pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/13 "2017-01-04T15:03:23Z")

</div>

If you look at the picture in my previous reply you’ll see that I’m feeding a list of curves per view into the node.  
Now that I mention it: the node might not work with only a single view with a single list of lines… I’ll take a look at that asap.

Edit: I just published a new version that should work with single or multiple input curves and also with polycurves instead of a collection of lines or curves.

---

<div class="post-metadata">

**Author:** ![Jose\_Goncalves](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@Jose\_Goncalves](https://forum.dynamobim.com/u/Jose_Goncalves)\
**Post date:** [January 8, 2017, 11:56pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/14 "2017-01-08T23:56:24Z")

</div>

> [@T\_Pover](#):
>
> MEPover

Thank you!!! It works Fine

---

<div class="post-metadata">

**Author:** ![Thomas\_Perkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_perkov/32/25176_2.png) [@Thomas\_Perkov](https://forum.dynamobim.com/u/Thomas_Perkov)\
**Post date:** [April 21, 2017, 9:27am UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/15 "2017-04-21T09:27:46Z")

</div>

Just what I needed, It works great!! Thank you very much! 😃

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 21, 2017, 9:28am UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/16 "2017-04-21T09:28:51Z")

</div>

@Thomas_Perkov Next time start a new thread please.

---

<div class="post-metadata">

**Author:** ![Thomas\_Perkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_perkov/32/25176_2.png) [@Thomas\_Perkov](https://forum.dynamobim.com/u/Thomas_Perkov)\
**Post date:** [April 21, 2017, 9:30am UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/17 "2017-04-21T09:30:52Z")

</div>

I’ll do… I’m a bit confused … I couldn’t see the answers/solution before… :-S

---

<div class="post-metadata">

**Author:** ![Josh\_Moore](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/josh_moore/32/24103_2.png) [@Josh\_Moore](https://forum.dynamobim.com/u/Josh_Moore)\
**Post date:** [June 26, 2017, 5:47pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/18 "2017-06-26T17:47:05Z")

</div>

This is fantastic and exactly what I was looking for. Works perfectly for making the crop of a ceiling plan match that of the associated floor plan. Well done!

---

<div class="post-metadata">

**Author:** ![RAllan](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@RAllan](https://forum.dynamobim.com/u/RAllan)\
**Post date:** [June 26, 2017, 6:57pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/19 "2017-06-26T18:57:49Z")

</div>

Not sure I get what was done here exactly?

I am currently having an issue where I have section views automatically created, but now I want to adjust the crop region of those views. I have included pictures below of what my section views look like currently, and another of how I would like it to look when I “run” my workspace.

**Pic #1 - How it looks now:**

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/5/d533d635fd9b1d6adb92742688ffba53785d4671.JPG)

**Pic #2 - How I’d like it to look:**  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/8/88660f8f798f4e4d57e0d29cfa26ab60156fb42e.JPG)

Is there a node or python script or something which will let me get my section view to look like picture #2, rather than #1?

Here is my current post on this topic below, hoping someone may have more info about it here in this post

> [@Automating Section Views of an Element](https://forum.dynamobim.com/t/automating-section-views-of-an-element/12105):
>
> Hello Dynamo community, I started off this workspace in a previous post (see picture below), and it got lots of attention. After over 20 posts, I have been stumped, and decided to make a new topic on my specific problem - This way, the community doesnt have to scroll through post upon post to grasp what I’m now trying to achieve. In short, my workspace selects a given element based on the comment it has (in my case - doors that have the comment - Access Control Door). It then selects all these…

---

<div class="post-metadata">

**Author:** ![kvusal](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kvusal](https://forum.dynamobim.com/u/kvusal)\
**Post date:** [November 25, 2017, 7:08pm UTC](https://forum.dynamobim.com/t/edit-crop-region/8323/20 "2017-11-25T19:08:35Z")

</div>

Dears,  
the script is not working for me. Please see script and photo for information.  
What might be reason for that? Curve is closed.

Thanks  
[Section.dyn](https://forum.dynamobim.com/uploads/short-url/wwKcxPVIT97Ksrl2noDiGHFGDGz.dyn) (11.0 KB)

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/458deb805c848db0cf1b3d1afb6c67811f323489.png)

[Next page](https://forum.dynamobim.com/t/edit-crop-region/8323.md?page=2)
