internal static void SelectNodes(Node[] nodes) { if (!CoreUtil.CompareIList(UserDatabase.selection.nodes, nodes)) { Command.Execute(new NodeSelectionCommand(nodes)); } }