public void InsertColumnsEnumerationLines() { if (Rvt.Control.EnumerateColumnsCheckBox == false) { return; } for (int i = 0; i < ExportElements.Count; i += ConfFile.Lines[(int)Work.Book.Table]) { ExportElements.Insert(i, new ElementContainer(ElementContainer.ContType.ColumnsEnumeration)); } }
public void SetExportElements() { if (Rvt.Control.GroupElemsCheckBox == true) { ExportElements = PickedElements.GroupByCategory(); } else { ExportElements = new ElementCollection(PickedElements); } ExportElements.Enumerate(); }