Index: /issm/trunk-jpl/src/m/contrib/paraview/exportVTK.py
===================================================================
--- /issm/trunk-jpl/src/m/contrib/paraview/exportVTK.py	(revision 18515)
+++ /issm/trunk-jpl/src/m/contrib/paraview/exportVTK.py	(revision 18516)
@@ -27,7 +27,7 @@
 #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)
@@ -52,8 +52,8 @@
     #%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:
