Hi Daniel,
Thank you so much for your reply. Sorry for my unclear statement. I am trying to set the value of var2D to the value of z3D, where var3D is larger than 0.5. Since there maybe several z3D with var3D larger 0.5, so I choose the maximum value of z3D. Can I write as:
var2D.setValue(var3D((x2D, y2D, numerix.ones * max(z3D))), where=(var3D>0.5))
Thannks again for your help.Kundar
