# Check if a crop region has been rotated

**URL:** <https://forum.dynamobim.com/t/check-if-a-crop-region-has-been-rotated/63621>\
**Category:** Developers\
**Tags:** api\
**Created:** [May 5, 2021, 11:59am UTC](https://forum.dynamobim.com/t/check-if-a-crop-region-has-been-rotated/63621 "2021-05-05T11:59:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![gerhard.p](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gerhard.p/32/147675_2.png) [@gerhard.p](https://forum.dynamobim.com/u/gerhard.p)\
**Post date:** [May 5, 2021, 10:45pm UTC](https://forum.dynamobim.com/t/check-if-a-crop-region-has-been-rotated/63621/5 "2021-05-05T22:45:36Z")

</div>

Hey,  
I also did a test and you are right, it doesn´t work for me with section views neither.

But keep in mind, for planviews you have to reset crop to get the right rotation angle if the crop box lines are not horizontal/vertical.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/9/e90a37a415a7372c86b543590662a26ae63277a1.png)

please see

> [@Get and Set Rotation Angle of View on sheet](https://forum.dynamobim.com/t/get-and-set-rotation-angle-of-view-on-sheet/59170/9):
>
> I just figured out what the Problem is. Before you can read out the Rotation Angle of a view you have to use the function Reset Crop! Now i just have to find out how to do that in dynamo. Here you can see a View without a rotation that gives me a “false” rotation. After resetting crop i get 0° and thats what i want.

---

_[View the full topic](https://forum.dynamobim.com/t/check-if-a-crop-region-has-been-rotated/63621)._
