UIControlledApplication.IsViewerModeActive
Description:
Identifies if the current Revit session is running in Viewer mode
Identifies if the current Revit session is running in Viewer mode
public bool IsViewerModeActive { get; }