2026 Class
Changes 8
C

ControlledApplication

Description:
Represents the Autodesk Revit Application with no access to documents. It provides options and other application wide data and settings for external applications OnStartup/OnShutdown.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.ApplicationServices.ControlledApplication
public class ControlledApplication
Name Return Type Description Inherited From
E ApplicationInitialized event Subscribe to this event to get notified after the Revit application has been initialized.
E DocumentChanged event Subscribe to the FailuresProcessingEvent event to be notified when Revit document has changed.
E DocumentClosed event Subscribe to the DocumentClosing event to be notified when Revit is just about to close a document.
E DocumentClosing event Subscribe to the DocumentClosing event to be notified when Revit is just about to close a document.
E DocumentCreated event Subscribe to the DocumentCreated event to be notified immediately after Revit has finished creating a new document.
E DocumentCreating event Subscribe to the DocumentCreating event to be notified when Revit is just about to create a new document.
E DocumentOpened event Subscribe to the DocumentOpened event to be notified immediately after Revit has finished opening a document.
E DocumentOpening event Subscribe to the DocumentOpening event to be notified when Revit is just about to open a document.
E DocumentPrinted event Subscribe to the DocumentPrinted event to be notified immediately after Revit has finished printing a view or ViewSet of the document.
E DocumentPrinting event Subscribe to the DocumentPrinting event to be notified when Revit is just about to print a view or ViewSet of the document.
E DocumentReloadedLatest event Subscribe to the DocumentReloadedLatestEventArgs event to be notified immediately after Revit has finished reloading a document with central model.
E DocumentReloadingLatest event Subscribe to the DocumentReloadingLatestEventArgs event to be notified when Revit is just about to reload latest changes from a central model.
E DocumentSaved event Subscribe to the DocumentSaved event to be notified immediately after Revit has finished saving a document.
E DocumentSavedAs event Subscribe to the DocumentSavedAs event to be notified immediately after Revit has finished saving document with a new file name.
E DocumentSaving event Subscribe to the DocumentSaving event to be notified when Revit is just about to save a document.
E DocumentSavingAs event Subscribe to the DocumentSavingAs event to be notified when Revit is just about to save the document with a new file name. This event is raised when Revit is just about to save the document with a new file name. Note that the first save of a newly created document will raise DocumentSavingAs rather than DocumentSaving event. Handlers of this event are permitted to make modifications to any document (including the active document), except for documents that are currently in read-only mode. This event is cancellable, except when it is raised during close of the application. Check the 'Cancellable' property of event's argument to see whether it is cancellable or not. When it is cancellable, call the 'Cancel()' method of event's argument to cancel it. Your application is responsible for providing feedback to the user about the reason for the cancellation. The following API functions are not available for the current document during this event: Close () and similar overloads. Save () . SaveAs(String) and similar overloads. Exception InvalidOperationException will be thrown if any of the above methods is called during this event. Another event DocumentSavedAs will be raised immediately after the document has been saved with a new file name.
E DocumentSynchronizedWithCentral event Subscribe to the DocumentSynchronizedWithCentral event to be notified immediately after Revit has finished synchronizing a document with central model.
E DocumentSynchronizingWithCentral event Subscribe to the DocumentSynchronizingWithCentral event to be notified when Revit is just about to synchronize a document with central model.
E ElementTypeDuplicated event Subscribe to the ElementTypeDuplicated event to be notified immediately after Revit has finished duplicating an element type.
E ElementTypeDuplicating event Subscribe to the ElementTypeDuplicating event to be notified when Revit is just about to duplicate an element type.
E FailuresProcessing event Subscribe to the FailuresProcessing event to be notified when failures are being processed at the end of transaction.
E FamilyLoadedIntoDocument event Subscribe to the FamilyLoadedInto event to be notified after Revit loaded a family into a document.
E FamilyLoadingIntoDocument event Subscribe to the FamilyLoadingInto event to be notified when Revit is just about to load a family into a document.
E FileExported event Subscribe to the FileExported event to be notified immediately after Revit has finished exporting files of formats supported by the API.
E FileExporting event Subscribe to the FileExporting event to be notified when Revit is just about to export files of formats supported by the API.
E FileImported event Subscribe to the FileImported event to be notified immediately after Revit has finished importing a file of format supported by the API.
E FileImporting event Subscribe to the FileImporting event to be notified when Revit is just about to import a file of format supported by the API.
E LinkedResourceOpened event Subscribe to the LinkedResourceOpened event to be notified immediately after Revit has finished opening a linked resource.
E LinkedResourceOpening event Subscribe to the LinkedResourceOpening event to be notified when Revit is just about to open a linked resource.
E ProgressChanged event Subscribe to the ProgressChanged event to be notified when an operation in Revit has progress bar data available.
E ViewPrinted event Subscribe to the ViewPrinted event to be notified immediately after Revit has finished printing a view of the document.
E ViewPrinting event Subscribe to the ViewPrinting event to be notified when Revit is just about to print a view of the document.
E WorksharedOperationProgressChanged event # Subscribe to the WorksharedOperationProgressChanged to be notified when progress has changed during Collaboration for Revit's workshared operations: open model and synchronize with central.
Name Return Type Description Inherited From
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetFailureDefinitionRegistry() FailureDefinitionRegistry Returns the instance of FailureDefinitionRegistry.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetLibraryPaths() IDictionary<String,String> Returns path information identifying where Revit searches for content.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsJournalPlaying() Boolean Determines if the application is currently in journal playback mode.
M OpenSharedParameterFile() DefinitionFile
M RegisterFailuresProcessor(IFailuresProcessor) None Registers Revit application-wide instance of Failures Processor.
M SetLibraryPaths(IDictionary<StringString>) None
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
M WriteJournalComment(String, Boolean) None Writes a comment to the Revit journal file
Name Return Type Description Inherited From
P ActiveAddInId AddInId
P AllUsersAddinsLocation string Add-ins location for all users.
P Cities CitySet
P Create Application
P CurrentUserAddinsLocation string Add-ins location for current user.
P CurrentUsersAddinsDataFolderPath string Path to AddinsData folder for the current user.
P CurrentUsersDataFolderPath string Path to data folder for the current user.
P IsLateAddinLoading bool Indicates whether this add-in is loaded on the fly or not. If it is loaded when is Revit starting up, it is false, otherwise it should be true.
P Language LanguageType
P Product ProductType
P RecordingJournalFilename string Retrieve the name of the journal file that Revit is currently recording to.
P SharedComponentsLocation string Location of shared components used by Revit.
P SharedParametersFilename string
P SubVersionNumber string The minor version number of Revit.
P VersionBuild string
P VersionName string
P VersionNumber string