DocumentWorksharingEnabled Event


Subscribe to the DocumentWorksharingEnabled event to be notified when a document has become workshared.

Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2015

Syntax

C#
public event EventHandler<DocumentWorksharingEnabledEventArgs> DocumentWorksharingEnabled
Visual Basic
Public Event DocumentWorksharingEnabled As EventHandler(Of DocumentWorksharingEnabledEventArgs)
Visual C++
public:
 event EventHandler<DocumentWorksharingEnabledEventArgs^>^ DocumentWorksharingEnabled {
	void add (EventHandler<DocumentWorksharingEnabledEventArgs^>^ value);
	void remove (EventHandler<DocumentWorksharingEnabledEventArgs^>^ value);
}

Remarks

This event is raised when Revit has just enabled worksharing in the document.

Handlers of this event are permitted to make modifications to any document (including the active document), except for documents that are currently in read-only mode.

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 →