| Revit 2019.1 API |
| ElementWorksetFilter Constructor (WorksetId) |
| ElementWorksetFilter Class See Also |
Constructs a new instance of a filter to match elements in a given workset.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.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 |