I want to dimension some markerboards to grid lines with dynamo

Here is a recent thread. There are several comments made for dimensioning to references as well as other useful info.