Python script for function 'arrayr' in Plaxis3D, got errors

I tried to use 'arrayr' to creat 30*30 cubiods in x-y plane using Python script. 

Codes:

soil1 = g_i.cuboid(1, (0.5, 0.5, 0))
g_i.arrayr(soil1, 30, (1,0,0), 30, (0,1,0))

Errors:

!!!!> arrayr (Volume_1 Volume_1.Soil) 30 (1 0 0) 30 (0 1 0)
Invalid parameters. Make sure that the specified parameters match the ones that are expected.

The scripting reference only contained examples for points.