C# Class RevitLookup.Utils.Selection

显示文件 Open project: jeremytammik/RevitLookup

Public Methods

Method Description
FilterToCategory ( BuiltInCategory filterForCategoryEnum, bool includeSymbols, Document doc ) : ICollection

Given an Enumerable set of Elements, walk through them and filter out the ones of a specific category.

FilterToCategory ( ICollection set, BuiltInCategory filterForCategoryEnum, bool includeSymbols, Document doc ) : ICollection

Given an Enumerable set of Elements, walk through them and filter out the ones of a specific category.

Method Details

FilterToCategory() public static method

Given an Enumerable set of Elements, walk through them and filter out the ones of a specific category.
public static FilterToCategory ( BuiltInCategory filterForCategoryEnum, bool includeSymbols, Document doc ) : ICollection
filterForCategoryEnum BuiltInCategory The BuiltInCategory enum to filter for
includeSymbols bool
doc Document The current Document object
return ICollection

FilterToCategory() public static method

Given an Enumerable set of Elements, walk through them and filter out the ones of a specific category.
public static FilterToCategory ( ICollection set, BuiltInCategory filterForCategoryEnum, bool includeSymbols, Document doc ) : ICollection
set ICollection The unfiltered set
filterForCategoryEnum BuiltInCategory The BuiltInCategory enum to filter for
includeSymbols bool
doc Document The current Document object
return ICollection