Example #1
0
        public static List <global::Revit.Elements.Element> GetOrderedFilters(global::Revit.Elements.Views.View view)
        {
            Autodesk.Revit.DB.View internalView = view.InternalElement as Autodesk.Revit.DB.View;
            Document doc = internalView.Document;

            return(internalView.GetOrderedFilters().Select(f => doc.GetElement(f).ToDSType(true)).ToList());
        }