Revit 2026 API
Workset |
Constructs a new instance of WorksetKindFilter filter to match worksets of the given WorksetKind.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public WorksetKindFilter( WorksetKind worksetKind, bool inverted )
Public Sub New ( worksetKind As WorksetKind, inverted As Boolean )
public: WorksetKindFilter( WorksetKind worksetKind, bool inverted )
new : worksetKind : WorksetKind * inverted : bool -> WorksetKindFilter
Parameters
- worksetKind WorksetKind
- The WorksetKind to match.
- inverted Boolean
- True if the filter should match all worksets which are not of the given WorksetKind.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also