Returns the worksharing display settings for the document, creating
new settings for the current user if necessary.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public static WorksharingDisplaySettings GetOrCreateWorksharingDisplaySettings( Document doc )
Parameters
- doc Document
- The document of interest.
Return Value
WorksharingDisplaySettingsThe worksharing display settings for the document.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | doc is not a project document. |
| ArgumentNullException | A non-optional argument was null |
