diff -r 2f286d3fc7f6 -r bbdbf0c17d3c objdictgen/nodelist.py --- a/objdictgen/nodelist.py Mon Sep 10 18:13:28 2007 +0200 +++ b/objdictgen/nodelist.py Tue Sep 11 17:34:31 2007 +0200 @@ -62,6 +62,14 @@ def GetRoot(self): return self.Root + + def SetRoot(self, newrootpath): + """ + Define a new path for the CanOpen network project + !!! Does not check if new path is valid !!! + """ + self.Root = newrootpath + self.Manager.SetCurrentFilePath(os.path.join(self.Root, "master.od")) def GetSlaveNumber(self): return len(self.SlaveNodes)