View Single Post
  #2  
Old 11-07-2014, 03:18 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,454
You can use an on-the-fly line object:

Code:
import viz
viz.go()

#Add to viz.ORTHO and specify pixel coordinates
viz.startLayer(viz.LINES)  
viz.vertex(100,400,0)
viz.vertex(600,400,0) 
myLines = viz.endLayer(viz.ORTHO)
Reply With Quote