LinkedResourceOpening Event


Controlled Application Linked Resource Opening Event

Subscribe to the LinkedResourceOpening event to be notified when Revit is just about to open a linked resource.

Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public event EventHandler<LinkedResourceOpeningEventArgs> LinkedResourceOpening

Value

EventHandler LinkedResourceOpeningEventArgs
Remarks

This event is raised when Revit is just about to open a linked resource. Only supports linked resources for following types : Revit; IFC; CAD(dwg, dxf, dgn, sat); This event would not be raised if there are no update on linked CAD, IFC resources.

Event is not cancellable.

The linked resource cannot be modified, for it is not opened yet at the time of the event.

Another LinkedResourceOpened event will be raised immediately after linked resource is opened.

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 →