DocumentOpeningEventArgs Class


The event arguments used by the DocumentOpening event.

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 DocumentOpeningEventArgs : RevitAPIPreEventArgs
Visual Basic
Public Class DocumentOpeningEventArgs _
	Inherits RevitAPIPreEventArgs
Visual C++
public ref class DocumentOpeningEventArgs : public RevitAPIPreEventArgs

Inheritance Hierarchy

SystemObject
  SystemEventArgs
    Autodesk.Revit.DB.EventsRevitAPIEventArgs
      Autodesk.Revit.DB.EventsRevitAPIPreEventArgs
        Autodesk.Revit.DB.EventsDocumentOpeningEventArgs

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 →