Announcements

Community notifications may experience intermittent interruptions between 10–12 November during scheduled maintenance. We appreciate your patience.

Inventor 2011 - Confusion with millimeters and centimeters

Inventor 2011 - Confusion with millimeters and centimeters

Anonymous
Not applicable
362 Views
2 Replies
Message 1 of 3

Inventor 2011 - Confusion with millimeters and centimeters

Anonymous
Not applicable

In a VBA customization I have some problem.

 

When I get the dimension of a sheet metal with 700 x 750 mm

 

Inventor understand 7000 x 7500mm

 

How can I set Inventor from VBA code to accept dimensions as milimeters?

 

 

Thanks in advance.

 

 

0 Likes
Accepted solutions (1)
363 Views
2 Replies
Replies (2)
Message 2 of 3

ekinsb
Alumni
Alumni
Accepted solution

In the API whenever there are values returned that represent lengths they will ALWAYS be in centimeters.  You can't change that.  Inventor, and the API, use a consistent set of units internally and the API exposes this publicly.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 3 of 3

Anonymous
Not applicable

Thanks a lot Brian.

 

 

0 Likes