Strange Rectangle Error

I’m trying to make a rectangle using four corner points. I’ve done this before about a thousand times using the rectangle by corner points function. Recently I’ve tried creating the rectangle and I get an error saying “Input points don’t form a valid Rectangle”. I’ve double/triple checked the points I’m using and they do form a rectangle. The weird thing is that in my other Dynamo files, this function works, but in my newly created files it doesn’t. Can someone please explain this error?

Error2

The points for rectangle must be in continuous(circulative) order. Just swap p3&p4

Hi Sean,

That node requires the points to be in order, either clockwise or CCW.

2015-03-24_094924