Dimmensions with rhinoCommon C#


I am trying to dimension each of the elements in the file using the C#. The documentation is a bit confusing. I want to dimension the outer edges of the breps in the XY plane. Any reference or examples?panels.gh (13.2 KB)

I was able to do this with the aligned dimensions component

PANEL.gh (20.5 KB)