Gets information about user worksets in a workshared model file, without fully opening the file.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static IList<WorksetPreview> GetUserWorksetInfo(
ModelPath path
)
Parameters
- path ModelPath
-
The path to the workshared model.
Return Value
IList<WorksetPreview>
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
Reference