Hi Guys,
Does anyone know why somtimes we get this error message when we try and use the rhythm note: ViewPlan.Rotate?

Hi Guys,
Does anyone know why somtimes we get this error message when we try and use the rhythm note: ViewPlan.Rotate?

To give a bit of context to what I am trying to achieve, I have a series of plan views that have view crops applied to them. The plans themselves are off diagonally and so need their scope box rotated. You can do this manually in Revit however I want to use dynamo to automate the process.
Right now I am using the ViewPlan.Rotate tool from rhythm to rotate the crop box, and then after, rotate the curves of the crop box in the offosite direction to realign back with the plan view. This weird Clockwise and anti-clockwise method is what you use to do it manually in revit however I wonder if there is a better solution. See my script attached and images below. RotatePlanViews_ForumQuestion.dyn (35.6 KB)