gp.maxid

Syntax

i = gp.maxid

Get the maximum ID number assigned to any gridpoint in this model. The next gridpoint created will be assigned this value plus one.

Returns:i - maximum ID number of any gridpoint in the model