Hello,
I play FEC , so which kinds of evaluators do i have? is it the same as operators ?
import clr
import sys
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
from Autodesk.Revit.DB.Structure import *
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument
param_value = ElementId(BuiltInParameter.ALL_MODEL_TYPE_NAME)
param_type = ElementId(BuiltInParameter.ALL_MODEL_FAMILY_NAME)
f_param_value = "Basiswand"
f_param = ParameterValueProvider(param_type)
evaluator = FilterStringEquals() #which others there are?
f_rule = FilterStringRule(f_param, evaluator, f_param_value, True)
filter_type_name = ElementParameterFilter(f_rule)
elements_by_type = FilteredElementCollector(doc).WherePasses(filter_type_name).WhereElementIsNotElementType().ToElements()
OUT = elements_by_type
KR
Andreas
