public static List <TSD.Drawing> getSelectedDrawings() { List <TSD.Drawing> parsed = new List <TSD.Drawing>(); TSD.DrawingHandler myDrawingHandler = new TSD.DrawingHandler(); TSD.DrawingEnumerator selectionEnum = myDrawingHandler.GetDrawingSelector().GetSelected(); foreach (TSD.Drawing current in selectionEnum) { if (current is TSD.Drawing) { parsed.Add(current as TSD.Drawing); } } return(parsed); }