RVTDocs.com

ParameterFilterElement.SetCategories

Method
Description:
Sets the categories admitted by this filter.
Remarks:

Testing that an element's category is a member of this set is, essentially, the first rule of the filter.

Changing the set of categories will clear any rules that use parameters that are not applicable for the new set of categories.

Syntax
public void SetCategories(
	ICollection<ElementId> categories
)
Parameters
Parameter Type Description
categories ICollection
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null