2027 Class
Changes 3
C

WorksetTable

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
public class WorksetTable : IDisposable
Name Return Type Description Inherited From
M CanDeleteWorkset(Document, WorksetId, DeleteWorksetSettings) Boolean Indicates if a workset can be deleted.
M DeleteWorkset(Document, WorksetId, DeleteWorksetSettings) None Delete the specific workset.
M Dispose() None Releases all resources used by the WorksetTable
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetActiveWorksetId() WorksetId Returns the active workset's WorksetId.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetWorkset(Guid) Workset Returns the workset from a input Guid.
M GetWorkset(WorksetId) Workset Returns the workset from a input WorksetId.
M IsWorksetNameUnique(Document, String) Boolean Checks if the given workset name is unique in the document.
M RenameWorkset(Document, WorksetId, String) None Renames the workset.
M SetActiveWorksetId(WorksetId) None Sets the active workset.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.