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: 2015.0.0.0 (2015.0.0.0)
Since:
2012
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- doc
-
Type:
Autodesk.Revit.DB
Document
The document of interest.
Return Value
The worksharing display settings for the document.Remarks
Note that these settings are available even in models that are not
workshared. This is to allow pre-configuring the display settings
before enabling worksets so that they can be stored in template files.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | doc is not a project document. |
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |