Get Revit Language

I tried to use Autodesk.Revit.ApplicationServices.Application.Language to get the Revit language in Python, but can not get the result string, only IronPython.Runtime.Types.ReflectedProperty.

How to get the result string?

Hi Koz,

You can refer here http://revitapisearch.com/html/1acafee6-95e0-50dd-2e46-8951e9405311.htm

 

 

1 Like

Thanks John

Koz you can also get other information’s from Revit Lookup.

Get it done. Thanks

a combo, string style, easier to handle for QC/Audit:

import clr
clr.AddReference('RevitServices')
from RevitServices.Persistence import DocumentManager

doc = DocumentManager.Instance.CurrentDBDocument

OUT = str(doc.Application.VersionName, doc.Application.VersionBuild, doc.Application.Language)