public static SelectionFilter GetBlockSelectionFilter(this Editor ed, params string[] blockNames) { var values = new TypedValue[] { Ac.GetTypedValue(DxfCode.Start, "INSERT"), Ac.GetTypedValue(DxfCode.BlockName, blockNames.Join(",")) }; return(new SelectionFilter(values)); }