That's how it works with hidden visual style. If you want the dimension to the displayed without hidden lines then use 2Dwireframe style.
--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)

Likes is much appreciated if the information I have shared is helpful to you and/or others.
Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------