ApplicationLinkedResourceOpening Event |
Subscribe to the LinkedResourceOpening event to be notified when Revit is just about to open a linked resource.
Namespace: Autodesk.Revit.ApplicationServicesAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic event EventHandler<LinkedResourceOpeningEventArgs> LinkedResourceOpening
Public Event LinkedResourceOpening As EventHandler(Of LinkedResourceOpeningEventArgs)
public:
event EventHandler<LinkedResourceOpeningEventArgs^>^ LinkedResourceOpening {
void add (EventHandler<LinkedResourceOpeningEventArgs^>^ value);
void remove (EventHandler<LinkedResourceOpeningEventArgs^>^ value);
}
member LinkedResourceOpening : IEvent<EventHandler<LinkedResourceOpeningEventArgs>,
LinkedResourceOpeningEventArgs>
Value
EventHandlerLinkedResourceOpeningEventArgs
RemarksThis 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