# Rotating/Editing Crop Boxes

**URL:** <https://forum.dynamobim.com/t/rotating-editing-crop-boxes/93116>\
**Category:** Revit\
**Created:** [August 23, 2023, 8:05am UTC](https://forum.dynamobim.com/t/rotating-editing-crop-boxes/93116 "2023-08-23T08:05:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan.buckingham](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dan.buckingham/32/168139_2.png) [@dan.buckingham](https://forum.dynamobim.com/u/dan.buckingham)\
**Post date:** [August 23, 2023, 8:05am UTC](https://forum.dynamobim.com/t/rotating-editing-crop-boxes/93116/1 "2023-08-23T08:05:54Z")

</div>

Hi all, I’m looking to create floorplans by room, but I’m wishing to rotate/edit the crop region of the view to suit the room (ie, if the room is 45 degrees to project north, I want the view to be rotated as such).

However, I can’t seem to get the crop box to rotate, can someone please advise on how I can edit my very crude code below. I know a lot of this is hard-coded at the minute, I’m just looking to get the concept working.

This code creates a floorplan around the selected room, and does crop the view around the room in question, but square to project north, not angled according to the room

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

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [August 23, 2023, 8:52am UTC](https://forum.dynamobim.com/t/rotating-editing-crop-boxes/93116/2 "2023-08-23T08:52:38Z")

</div>

Hello,  
[look this way](https://forum.dynamobim.com/t/rotate-cropbox-or-view-via-id/92924/2) maybe could be what you are looking for

cordially  
christian.stan
