Application Class


Represents the Autodesk Revit Application, providing access to documents, options and other application wide data and settings.

Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public class Application : IDisposable
Visual Basic
Public Class Application _
	Implements IDisposable
Visual C++
public ref class Application : IDisposable

Examples

Copy C#
string versionInfo = application.VersionBuild + "\n"
                    + application.VersionName + "\n"
                    + application.VersionNumber;
Copy VB.NET
Dim versionInfo As String = (application.VersionBuild + vbLf + application.VersionName & vbLf) + application.VersionNumber

Inheritance Hierarchy

System Object
Autodesk.Revit.ApplicationServices Application
Autodesk.Revit.DB.Macros ApplicationEntryPoint

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →