Gets the central model path of the worksharing model.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ModelPath GetWorksharingCentralModelPath()
Return Value
ModelPathThe central model path, or null if the document is not workshared.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This Document is not a workshared document. |