diff --git a/src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs b/src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs index ec780df6d27fc1168e2c17967946a6238eca47ff..d857fd2ff7631d4a2c01f50aa72f115ae5828e55 100644 --- a/src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs +++ b/src/IFoxCAD.Cad/ExtensionMethod/EditorEx.cs @@ -53,9 +53,9 @@ public static SelectionSet SelectByLineWeight(this Editor editor, LineWeight lin return res.Value; } - public static PromptSelectionResult? SSGet(this Editor editor, string? mode = null, SelectionFilter? filter = null, string[]? messages = null, Dictionary? keywords = null) + public static PromptSelectionResult? SSGet(this Editor editor, PromptSelectionOptions? promptSelectionOptions = null, string? mode = null, SelectionFilter? filter = null, string[]? messages = null, Dictionary? keywords = null) { - var pso = new PromptSelectionOptions(); + var pso = promptSelectionOptions ?? new PromptSelectionOptions(); PromptSelectionResult? ss = null; if (mode is not null) {