Represents a workset in the document.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.WorksetPreview
Autodesk.Revit.DB.Workset
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public class Workset : WorksetPreview
The Workset type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Id |
Id of the workset.
(Inherited from WorksetPreview) |
![]() | IsDefaultWorkset |
Whether the workset is the default one.
(Inherited from WorksetPreview) |
![]() | IsEditable | Whether the workset is editable. |
![]() | IsOpen | Whether the workset is open (rather than closed). |
![]() | IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from WorksetPreview) |
![]() | IsVisibleByDefault | Whether the workset is visible by default. |
![]() | Kind | Kind of the workset. |
![]() | Name |
Name of the workset.
(Inherited from WorksetPreview) |
![]() | Owner |
User name of the workset.
(Inherited from WorksetPreview) |
![]() | UniqueId |
UniqueId of the workset.
(Inherited from WorksetPreview) |
Methods
Name | Description | |
---|---|---|
![]() ![]() | Create | Creates a new workset. |
![]() | Dispose | (Inherited from WorksetPreview) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |