static private GetElementsOfType ( Document doc, |
||
doc | Document | |
type | ||
bic | BuiltInCategory | |
Résultat | FilteredElementCollector |
static FilteredElementCollector GetElementsOfType(
Document doc,
Type type,
BuiltInCategory bic)
{
FilteredElementCollector collector
= new FilteredElementCollector( doc );
collector.OfCategory( bic );
collector.OfClass( type );
return collector;
}