Index: ../trunk-jpl/src/m/contrib/paraview/exportVTK.py
===================================================================
--- ../trunk-jpl/src/m/contrib/paraview/exportVTK.py	(revision 18515)
+++ ../trunk-jpl/src/m/contrib/paraview/exportVTK.py	(revision 18516)
@@ -26,9 +26,9 @@
 
 #get the element related variables
 if model.mesh.shape[0]==2:
-    points=[model.mesh.x model.mesh.y zeros(model.mesh.numberofvertices,1)];
+    points=[model.mesh.x,model.mesh.y,zeros(model.mesh.numberofvertices,1)];
 else:
-    points=[model.mesh.x model.mesh.y model.mesh.z]
+    points=[model.mesh.x,model.mesh.y,model.mesh.z]
 
 [num_of_points,dim]=numpy.size(points)
 [num_of_elt]=numpy.size(model.mesh.elements,1)
@@ -51,10 +51,10 @@
     num_of_timesteps=1
     #%building solutionstructure 
     for solution in num_of_sols:
-        sol_struct{i}=res_struct.(solnames{i});
+        sol_struct[i]=res_struct.(solnames[i]);
         #looking for multiple time steps
-        if(numpy.size(sol_struct{i},2)>num_of_timesteps):
-            num_of_timesteps=numpy.size(sol_struct{i},2);
+        if(numpy.size(sol_struct[i],2)>num_of_timesteps):
+            num_of_timesteps=numpy.size(sol_struct[i],2);
 
 else:
     num_of_timesteps=1
