From 008726418cd4db51210998e3870ebd751c3e972e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20R=C3=A5nman?= Date: Wed, 24 Jan 2024 13:30:16 +0100 Subject: [PATCH] Update align_schematic.py Set the command flags Model & Undo --- lxserv/command/align_schematic.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lxserv/command/align_schematic.py b/lxserv/command/align_schematic.py index 2bad26d..f91be1a 100644 --- a/lxserv/command/align_schematic.py +++ b/lxserv/command/align_schematic.py @@ -53,6 +53,9 @@ def get_schematic_group(item: lx.object.Item) -> Tuple[lx.object.SchematicGroup, raise LookupError("Failed to find schematic group and node") + def cmd_Flags(self): + return lx.symbol.fCMD_SELECT | lx.symbol.fCMD_UNDO + def basic_Execute(self, message: lxu.object.Message, flags: int): # pylint: disable=invalid-name, unused-argument """ Overridden method,