Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Please Help: Changing inches to mm

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
robzam123
380 Views, 5 Replies

Please Help: Changing inches to mm

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

5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: robzam123

Look at the options when you are importing, I think this is where you need to change it.
Message 3 of 6
robmatthews
in reply to: Anonymous

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.

 

PartSettings.png

 

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

 

=============================================
This is my signature, not part of my post.
Message 4 of 6
robzam123
in reply to: robmatthews

Thanks for the help.

Robert 

Message 5 of 6
robmatthews
in reply to: robzam123

You're welcome. Did it answer your question? If so, please mark as "solution".

=============================================
This is my signature, not part of my post.
Message 6 of 6
KyleAutoDesk
in reply to: robzam123

How do you change it from inches to millimeters but keep the numbers the same (i.e. 120 inches to 120 millimeters)?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report