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

Project units

1 REPLY 1
Reply
Message 1 of 2
sanjaymann
280 Views, 1 Reply

Project units

Hi,

 

How do I get to know the projects units. Its in Decimal feet or Millimeters or Meters.

 

Thanks and Regards

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: sanjaymann

If you are using Revit 2014 SDK try using

GetDisplayUnitType Method which will get you the display unit for the UT_Length unit type.

In Revit 2015 this method has become obsolete, you will need to use GetFormatOptions(UnitType.UT_Length).DisplayUnits instead.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community