View Single Post
Old 03-10-2015, 01:51 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
The script is not creating the graphics window using viz.go(). Since no window is created, the script will immediately exit after reaching the end of the file. Try running the following code:

import viz
import viznet


dataNetwork = viz.addNetwork('LocalHost');
def onNetwork(e):
	if isinstance(e,viz.RawNetworkEvent):
		print e.raw_data

Reply With Quote