View Single Post
  #1  
Old 10-09-2014, 03:40 PM
Melody Melody is offline
Member
 
Join Date: Aug 2014
Posts: 26
TypeError: y must be a float (transferring from vizard 3.0 to vizard 5.0)

The coding runs smoothly in vizard3.0. But when I copy them to vizard 5.0. It shows the error below. How can I fix it?


Traceback (most recent call last):

val = event.call()
File "C:\Program Files (x86)\WorldViz\Vizard5\python
return func(*args,**kwargs)
File "C:\Documents and Settings
current_vertex=mycurves1.addVertex([curvex, curvey1,0],viz.ABS_GLOBAL)
File "C:\Program Files (x86)\WorldViz\
val = _ipcSend(_VIZ_OTFADDVERTEX,self.id,0,'',x[0],x[1],x[2],0.0)
TypeError: y must be a float
Reply With Quote