RVTDocs.com
Namespace: Autodesk.Revit.DB

WorksetTable

Class
Description:
A table containing references to all the worksets contained in a document.
Remarks:
There is one WorksetTable for each document. There will be at least one default workset in the table, even if worksharing has not been enabled in the document.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.WorksetTable
Syntax
public class WorksetTable : IDisposable
WorksetTable Class Members:
Name Description Inherited From
IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Name Description Inherited From
CanDeleteWorkset Indicates if a workset can be deleted.
DeleteWorkset Delete the specific workset.
Dispose Releases all resources used by the WorksetTable
Equals Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
GetActiveWorksetId Returns the active workset's WorksetId.
GetHashCode Serves as the default hash function. (Inherited from Object ) Object
GetType Gets the Type of the current instance. (Inherited from Object ) Object
GetWorkset(Guid) Returns the workset from a input Guid.
GetWorkset(WorksetId) Returns the workset from a input WorksetId.
IsWorksetNameUnique Checks if the given workset name is unique in the document.
RenameWorkset Renames the workset.
SetActiveWorksetId Sets the active workset.
ToString Returns a string that represents the current object. (Inherited from Object ) Object