Dimensioning from Cogo Points

I have been messing around and was trying to figure if there is a way to automate dimensioning from specific Cogo points using a filter? An example would be adding dimensions in X, and Y, from polylines or lines on a layer to a Cogo point based on a layer or code?