Hello all,
I wish to grab all of my phase filters in a model so I can start to automate our offices way of doing phasing. Is there anything our there that can accomplish this?
Thanks,
Hello all,
I wish to grab all of my phase filters in a model so I can start to automate our offices way of doing phasing. Is there anything our there that can accomplish this?
Thanks,
In Dynamo to get the Phases you can do this:
PhaseArray phaseArr = DocumentManager.Instance.CurrentDBDocument.Phases;
To get all phase filters you can do this:
var fec = new FilteredElementCollector(DocumentManager.Instance.CurrentDBDocument).OfClass(PhaseFilter);
That will get you started I think.
Cheers!
Awesome! Thank you.