Skip to content

Commit

Permalink
Update align_schematic.py
Browse files Browse the repository at this point in the history
Set the command flags Model & Undo
  • Loading branch information
rondreas authored Jan 24, 2024
1 parent be0187c commit 0087264
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lxserv/command/align_schematic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0087264

Please sign in to comment.