I’m struggling to figure out what should be done here. I am looking to create a new ParameterFIlterElement using the information in my filterInfo list . I’m using the ParameterFilterElement.Create method and it works in IronPython but when I switch to CPython I get the following error. Thoughts on what I should do?
It could be the list you are passing to the Create()
method is the wrong type. GetCategories()
returns a System ICollection<ElementId>
type. Try line 14 as
info.append(list(cats))