Fnd the X,Y coordinate of a point seen in a top down view in the model space relative to a layout

How can I find the X,Y coordinate of a point seen in a top down view in the model space relative to a layout and its viewport so that I can place the Dimension in layout space.

I have tried referencing the geometry whilst the layout view is active and acquiring evaluated points from its bounding box but that doesn’t seem to work.

https://apidocs.co/apps/rhinocommon/6.14.19118/P_Rhino_DocObjects_DetailViewObject_WorldToPageTransform.htm

I believe this may be the answer I was looking for

Yep, that’s it.

– Dale