Window height and sill in dimensions

Hello.

When dimensioning a window (opening) in the floorplan, is it possible to get the text in this format "<> /X window_height (sill_height)" automatically?

Thanks