Getting dimension text before commit

Hi,
I'm trying to make a custom function using Block Styler which basically will add a linear dimension to the drawing with some additional text. User selects two curves and after hitting Apply new dimension is added to the drawing.

What's challanging to me is how to get the value of the dimension before commiting it. I need this value becasue it has to be modified before commit. I see that LinearDimensionBuilder has property called Measurement but it doesn't give what I need when converted to string. I think I'm looking for something like the method GetDimensionText but before making a dimension annotation object. I would be grateful for any help

baban

i am not 100% sure..May be u could use measure manager between the objects in the first and second Associativity and get the value before committing.