WorksharingUtilsGetUserWorksetInfo Method |
Gets information about user worksets in a workshared model file, without fully opening the file.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static IList<WorksetPreview> GetUserWorksetInfo(
ModelPath path
)
Public Shared Function GetUserWorksetInfo (
path As ModelPath
) As IList(Of WorksetPreview)
public:
static IList<WorksetPreview^>^ GetUserWorksetInfo(
ModelPath^ path
)
static member GetUserWorksetInfo :
path : ModelPath -> IList<WorksetPreview>
Parameters
- path ModelPath
-
The path to the workshared model.
Return Value
IListWorksetPreview
Information about all the user worksets in the model.
The list is sorted by workset id.
Exceptions
Remarks
This method provides a preview of the user worksets available in a file, allowing an
application to look up the necessary workset ids and information to properly fill out a WorksetConfiguration
structure before opening or linking to this model.
See Also