Skip to content

WorksetKindFilter(WorksetKind, Boolean)

Public Constructor

Constructs a new instance of WorksetKindFilter filter to match worksets of the given WorksetKind.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public WorksetKindFilter(
WorksetKind worksetKind,
bool inverted
)

Parameters

worksetKind WorksetKind

The WorksetKind to match.

invertedBoolean

True if the filter should match all worksets which are not of the given WorksetKind.

Exceptions

Exception

Condition


ArgumentOutOfRangeException

A value passed for an enumeration argument is not a member of that enumeration