Document.GetWorksharingCentralModelPath Method

DocumentGetWorksharingCentralModelPath Method

Gets the central model path of the worksharing model.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ModelPath GetWorksharingCentralModelPath()
Public Function GetWorksharingCentralModelPath As ModelPath
public:
ModelPath^ GetWorksharingCentralModelPath()
member GetWorksharingCentralModelPath : unit -> ModelPath 

Return Value

ModelPath
The central model path, or null if the document is not workshared.
Exceptions
ExceptionCondition
InvalidOperationException This Document is not a workshared document.
See Also