Active Contributor
Posts: 42
Registered: ‎07-02-2013
Message 1 of 4 (155 Views)
Accepted Solution

Architectural units

155 Views, 3 Replies
07-17-2013 11:12 PM


I am opening a drawing file whose units are already set to "Architectural - Inches".When im retrieving the coordinates of lines present in drawing it is returning in some other format.How do i change this.Or how do i know in what unit system the values are being returned.



Valued Contributor
Posts: 99
Registered: ‎08-18-2010
Message 2 of 4 (128 Views)

Re: Architectural units

07-18-2013 01:33 PM in reply to: gulzar25

First, this does not sound like a programmin problem, so wrong forum. Second, it would depend on how you retrieving these units, and what program your doing this in.

Posts: 221
Registered: ‎11-09-2012
Message 3 of 4 (106 Views)

Re: Architectural units

07-20-2013 09:53 AM in reply to: gulzar25
you can check system variable 'INSUNITS' which is responsible for unit setting. This system variable returns a integer and from the value of integer you can get the actual unit. for example, if INSUNITS return 1 that means the unit setting is 'Inches'. For details of 'INSUNITS' you can go through below link:

Posts: 221
Registered: ‎11-09-2012
Message 4 of 4 (104 Views)

Re: Architectural units

07-20-2013 10:01 AM in reply to: gulzar25
Another thing I forgot to add in my previous comments, To find linear unit, i.e, Architectural, you can check what 'LUNITS', another system variable, returns. It will also return an integer. if it returns 4 that mean the linear unit is set to 'Architectural'. for details go through below link:


You can get system variable value like below:

dim i as integer = Application.GetSystemVariable('LUNITS')

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community