I forgot to mention that i also tried pcbnew.Refresh() and pcbnew.UpdateUserInterface() both did not help.
I forgot to mention that i also tried pcbnew.Refresh() and pcbnew. UpdateUserInter face() both did not help.