View Single Post
  #4  
Old 06-28-2011, 12:44 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
In a previous thread I asked if the following code works for you but I did not get a response. Do you get an error when running this after you replace the IP address with your MotionStar server IP?
Code:
import viz
viz.go()

ascension = viz.add('ascension.dle') 
sensors = ascension.addMotionStar('10.32.16.31')

for s in sensors:
	model = vizshape.addCube(0.1)
	viz.link(s,model)
Reply With Quote