ViewSection newView = doc.GetElement(copyIds.FirstOrDefault<ElementId>()) as ViewSection;
List<string> list = new List<string>() { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L" };
List<string> boolList = new List<string>();
for(int i = 0; i< list.count -1; i++)
{
foreach (Element e in ViewFilterCol)
{
if (e.Name == list[i])
{
boolList.Add(e.Name);
continue;
}
}
if (boolList.Count == i)
{
newView.Name = list[i];
boolList.Add(newView.Name);
break;
}
}