2027 Enumeration
Changes 0
E

WorksharingDisplayMode

Description:
Indicates which worksharing display mode a view is in.
public void GetWorksharingDisplayMode(View view)
{
    // Get and Set worksharingDisplayMode of a given view
    WorksharingDisplayMode displayMode = view.GetWorksharingDisplayMode();
    Autodesk.Revit.UI.TaskDialog.Show("GetWorksharingDisplayMode", "WorksharingDisplayMode : " + displayMode);

    view.SetWorksharingDisplayMode(WorksharingDisplayMode.CheckoutStatus);
    Autodesk.Revit.UI.TaskDialog.Show("SetWorksharingDisplayMode", "CheckoutStatus was set for View: " + view.Name);
}
Name Description
E CheckoutStatus The view is displaying the checkout status of elements.
E ModelUpdates The view is displaying model updates.
E Off No active worksharing display mode.
E Owners The view is displaying the specific owners of elements.
E Worksets The view is displaying which workset each element is assigned to.