Go to Edit->Settings->File Settings and pick millimeters for your DXF import settings. You may need to disable the “Auto-detect settings” if it doesn’t work with that setting.
The easiest way to do this:
if you know the actual dimensions of the whole shape than just resize the shape to that dimension with the aspect ratio locked
if you want to use your method of resizing against a known segment length then:
2a. create a 5 mm long line
2b. move one end of the current line segment on top of one end of the 5mm long segment
2c. use Arrange->2-point arrange scale. Click on end of shape used in 2b. Then click-hold on other end of line segment. Hold shift while you move the mouse pointer to the other end of the 5mm long segment. Release mouse.
Thanks! I have really tried but I don’t understand 2b and 2c steps, sorry…
Video of me failling to follow your steps: https://amaroa.es/help/sizing.mp4 (sorry, contextual menus were not recorded)
If you know the desired segment length (5mm) and you measure 127mm… can’t you just find the scale factor 0.0393 (5mm/127mm), select all shapes you need scaled, lock the height and width dimensions, and multiply either one (height or width) by the scale factor?
I’ve often done that with slotted designs to adjust for the material thickness I want to use… and it seems to work fine.
Further to David’s note, this math can be done in the height/width box. Lock the aspect ratio, select everything you need to resize and then in the case of your example above, add “*(5/127)” to the end of one of the current dimensions and hit enter.