Dimension Parenthesis

Hello, I am assigning parenthesis to dimensions (inserted using model items) in a drawing. I am using following API...

swDispDim.ShowParenthesis = True

(I use this API after selecting dimension)

once parenthesis added to required dimensions, if I rebuild the drawings, parenthesis vanishes. It vanishes even if I first save and then rebuild.

Is anyone come across such situation? Please share if you know the way out

​@

SolidworksApi macros