# Offset for Crop Region

**URL:** <https://forum.dynamobim.com/t/offset-for-crop-region/43032>\
**Category:** Revit\
**Created:** [November 12, 2019, 4:18am UTC](https://forum.dynamobim.com/t/offset-for-crop-region/43032 "2019-11-12T04:18:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nitesh\_Panchal](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@Nitesh\_Panchal](https://forum.dynamobim.com/u/Nitesh_Panchal)\
**Post date:** [November 12, 2019, 4:18am UTC](https://forum.dynamobim.com/t/offset-for-crop-region/43032/1 "2019-11-12T04:18:29Z")

</div>

Hello,

Attached is the scrip i have created for setting up crop region around the single family in Revit project. Script is working fine as per expectation. But i like to offset the crop region in x and y for all sides. I am using Dynamo 2.0.2 and resize crop box is not working with that. Any other solution for the same?[Set Crop Region.dyn](https://forum.dynamobim.com/uploads/short-url/lBK9h1LOOJ9xoSGPVnr4uSc7jWu.dyn) (72.6 KB)

---

<div class="post-metadata">

**Author:** ![GavC](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavc/32/74854_2.png) [@GavC](https://forum.dynamobim.com/u/GavC)\
**Post date:** [November 13, 2019, 12:05am UTC](https://forum.dynamobim.com/t/offset-for-crop-region/43032/2 "2019-11-13T00:05:31Z")

</div>

MEPover has nodes which can get/set the crop box curves of a view. I would suggest trying to shift the end points of the curves of the view crop to achieve the X/Y offset, reconnect them via a polycurve and then set the crop box with the new curves.

You could check the Z and X values of each end point to identify which side and corner of the elevations they are on, and the resultant direction you need to push them in.
