View Single Post
  #4  
Old 03-04-2009, 12:58 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The error says you are iterating over an object which is not a list or sequence. It's occurring on the line "for agent in DRIVING:"

Looking at your code, the variable DRIVING is being assigned an integer value, which is not a list or sequence. You need to fix that line of code so it iterates over a list or sequence object.
Reply With Quote