RevitAPIPreDocEventArgs Class


The base class used for pre events where the arguments must supply access to the document.

Namespace: Autodesk.Revit.DB.Events
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2010

Syntax

C#
public class RevitAPIPreDocEventArgs : RevitAPIPreEventArgs
Visual Basic
Public Class RevitAPIPreDocEventArgs _
	Inherits RevitAPIPreEventArgs
Visual C++
public ref class RevitAPIPreDocEventArgs : public RevitAPIPreEventArgs

Inheritance Hierarchy

SystemObject
  SystemEventArgs
    Autodesk.Revit.DB.EventsRevitAPIEventArgs
      Autodesk.Revit.DB.EventsRevitAPIPreEventArgs
        Autodesk.Revit.DB.EventsRevitAPIPreDocEventArgs
          Autodesk.Revit.DB.EventsDocumentClosingEventArgs
          Autodesk.Revit.DB.EventsDocumentPrintingEventArgs
          Autodesk.Revit.DB.EventsDocumentReloadingLatestEventArgs
          Autodesk.Revit.DB.EventsDocumentSavingAsEventArgs
          Autodesk.Revit.DB.EventsDocumentSavingEventArgs
          Autodesk.Revit.DB.EventsDocumentSynchronizingWithCentralEventArgs
          Autodesk.Revit.DB.EventsElementTypeDuplicatingEventArgs
          Autodesk.Revit.DB.EventsExternalDataInstanceAddingIntoDocumentEventArgs
          Autodesk.Revit.DB.EventsExternalDataInstanceRemovingFromDocumentEventArgs
          Autodesk.Revit.DB.EventsExternalDataTypeServerFailureResolutionExecutingEventArgs
          Autodesk.Revit.DB.EventsFamilyLoadingIntoDocumentEventArgs
          Autodesk.Revit.DB.EventsFileExportingEventArgs
          Autodesk.Revit.DB.EventsFileImportingEventArgs
          Autodesk.Revit.DB.EventsViewExportingEventArgs
          Autodesk.Revit.DB.EventsViewPrintingEventArgs
          Autodesk.Revit.DB.EventsViewsExportingByContextEventArgs
          Autodesk.Revit.UI.EventsTransferringProjectStandardsEventArgs
          Autodesk.Revit.UI.EventsViewActivatingEventArgs

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →