Room Length & Width in Tag

Hello,

I’m extremely new to Dynamo and I’m trying to get a graph to work that calculates a room’s length and width and sets that to a shared parameter and tag. I’ve followed the steps given from this link:

Everything seems to work well unless I have a room with an angled wall. In those instances the Ampesand “PolyCurve. Min Bounding Box” Node gets an error.

This hasn’t been a consistent issue as sometimes I’ve performed the same actions and the script seems to run fine. Any suggestions as to why this might be happening?

Hello @jwhite715
I have created Share parameter which are imported in project file and in room tag family.
Room W&L.txt (716 Bytes)
Room W&L.dyn (24.8 KB)


This Script is created as per your reference video.