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?
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?
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)