[Bf-python] Updating a panel

Nicholas Bishop nicholasbishop at gmail.com
Sat Sep 15 21:55:02 CEST 2012


I'm writing a script that displays a panel in the scene properties.
The panel is populated with information obtained from a server via a
socket. I'm using an operator and event_timer_add() to periodically
poll the socket for updates. I can see with print() that this is
working correctly, but I can't find how to signal my bpy panel to
update itself -- I don't see an equivalent to WM_event_add_notifier()
in bpy.

I'm very new to Blender's Python API, any help is appreciated.

Thanks,
-Nicholas



More information about the Bf-python mailing list