Display dimensions on CAD part

Hey Community,

Does anybody know how can one display dimensions on a 3D CAD part in runtime? (For example: A 3D cylinder has diameter at the top and Height)