What feature of the cupboard?Mass - kilogramHeight, Width - MetreDepth - CentimetreVolume - LitreHeight, width and depth should be measured in millimetres for designing or fitting the cupboard.
If you want to measure anything you put it on a balance(scale). You probably want to use a digital kitchen scale as they are very accurate and can normally cope with mass's up to 4 mabey 5kg.
With another yardstick. Or you could take the easy way and use the little lines on the side of the first yardstick, but where's the fun in that? You could also use a meterstick, but that wouldn't be...