How to get the entities connected to a dimension line on Layout with Ruby?

I drew a dimension line between 2 edges. How can I get the entities of the edges? I can get the start/end connection points in Ruby. But they are 2D points only, no information on the edges.

Wouldn’t we think that if the dimension objects were within a Layout::SketchupModel, that the returned objects should be the Layout::ConnectionPoint objects that were used in the first place to make the dimension’s connections ?

I am assuming that this is what you did.

The docs do not say that the methods return anything other than Geom::Point2d paperspace objects.

The official API issue and feature request tracker may need a new request (by you) for this class.