Auto-Dimension Family

Hi, I’m trying to make dynamo auto-dimension my plate family. I have named the reference plane B1 and B2 (see picture). Is there a node that i can use to make the reference planes to lines that i can dimension?