Here is a small sample String param1 = "nameOfYourField"; String param2 = "SCALARS"; // or VECTORS , TENSORS String param3 = "POINT_DATA"; // or CELL_DATA testaa.Assign(param1, param2, param2); Seb