Constructs a new instance of a filter to match elements in a given workset.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2012
Syntax
| C# |
|---|
public ElementWorksetFilter( WorksetId worksetId ) |
| Visual Basic |
|---|
Public Sub New ( _ worksetId As WorksetId _ ) |
| Visual C++ |
|---|
public: ElementWorksetFilter( WorksetId^ worksetId ) |
Parameters
- worksetId
- Type: Autodesk.Revit.DB..::..WorksetId
The workset id to match.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |