Hi,
Is it possible to change the units of some imported part without changing the dimensions? I have imported an assembly from an external source but had the units settings as inches. However I want to change them to mm.
For example: I want to change a dimension of 55in to 55mm.
Thanks for the help.
Best Wishes
Solved! Go to Solution.
Solved by robmatthews. Go to Solution.
If you only have a few that you need to change, do this. Otherwise, I use a VBA routine to automate the process, code below.
Sub SetAsMetric() ' Written 2010 by Rob Matthews (c) 'Simplified 16-04-2012 On Error Resume Next Dim oDoc As Document Set oDoc = ThisApplication.ActiveDocument oDoc.UnitsOfMeasure.LengthDisplayPrecision = 5 oDoc.UnitsOfMeasure.AngleDisplayPrecision = 5 oDoc.UnitsOfMeasure.LengthUnits = kMillimeterLengthUnits oDoc.UnitsOfMeasure.MassUnits = kKilogramMassUnits oDoc.Update Set oDoc = Nothing End Sub
You're welcome. Did it answer your question? If so, please mark as "solution".
How do you change it from inches to millimeters but keep the numbers the same (i.e. 120 inches to 120 millimeters)?