Implement this method to execute some tasks when Autodesk Revit starts.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
ExternalDBApplicationResult OnStartup(
ControlledApplication application
)
Parameters
- application ControlledApplication
- Handle to the Revit Application object.
Return Value
ExternalDBApplicationResultIndicates if the external db application completes its work successfully.
Remarks
Typically, event handlers and updaters are registered in this method.
See Also
Reference