Dimension Line from Reference Plane

These dimension are created using Dynamo to Reference Planes. Is there a method to moving the dimension line gap node up to a element?