2021 Class
Changes 6
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
M Dispose() None Releases all resources used by the
M GetActiveWorksetId() WorksetId Returns the active workset's WorksetId.
M GetWorkset(Guid) nullNothingnullptr Returns the workset from a input Guid.
M GetWorkset(WorksetId) nullNothingnullptr Returns the workset from a input WorksetId.
M IsWorksetNameUnique(Document, String) bool 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.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.