private List <string> GetObjectsFromFilter(ISelectionFilter filter, ISpeckleConverter converter)
        {
            switch (filter.Slug)
            {
            case "all":
                return(Doc.ConvertibleObjects(converter));

            case "layer":
                var layerObjs = new List <string>();
                foreach (var layerName in filter.Selection)
                {
                    AcadDb.TypedValue[] layerType = new AcadDb.TypedValue[1] {
                        new AcadDb.TypedValue((int)AcadDb.DxfCode.LayerName, layerName)
                    };
                    PromptSelectionResult prompt = Doc.Editor.SelectAll(new SelectionFilter(layerType));
                    if (prompt.Status == PromptStatus.OK)
                    {
                        layerObjs.AddRange(prompt.Value.GetHandles());
                    }
                }
                return(layerObjs);

            default:
                RaiseNotification("Filter type is not supported in this app. Why did the developer implement it in the first place?");
                return(new List <string>());
            }
        }