The create method in RevitAPI say that I need “the document” and “a string” to create a new phasefilter.
So I made this python script : (IN = string)
doc = DocumentManager.Instance.CurrentDBDocument
Arch = IN
NewPhaseFilter = PhaseFilter.Create(doc, Arch)
OUT = NewPhaseFilter
It’s working perfectly for one new phasefilter but I would like to push a little bit further (if it’s possible).
Is there a way to create multiple phasefilter with a list of strings?
Thank you in advance!