2026 Class
Changes 0
C

Workset

Description:
Represents a workset in the document.
Remarks:
Worksets are a way to divide a set of elements in the Revit document into subsets for worksharing. There may be one or many worksets in a document. Each element in the document must belong to one and only one workset.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.WorksetPreview
    Autodesk.Revit.DB.Workset
public class Workset : WorksetPreview
Name Return Type Description Inherited From
M Create(Document, String) Workset Creates a new workset.
M Dispose() None (Inherited from WorksetPreview ) WorksetPreview
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
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 ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Id WorksetId Id of the workset. (Inherited from WorksetPreview ) WorksetPreview
P IsDefaultWorkset bool Whether the workset is the default one. (Inherited from WorksetPreview ) WorksetPreview
P IsEditable bool Whether the workset is editable.
P IsOpen bool Whether the workset is open (rather than closed).
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity. (Inherited from WorksetPreview ) WorksetPreview
P IsVisibleByDefault bool Whether the workset is visible by default.
P Kind WorksetKind Kind of the workset.
P Name string Name of the workset. (Inherited from WorksetPreview ) WorksetPreview
P Owner string User name of the workset. (Inherited from WorksetPreview ) WorksetPreview
P UniqueId Guid UniqueId of the workset. (Inherited from WorksetPreview ) WorksetPreview