FutureProg functions

extendgrid

Gridscomputer function, computer program, standard futureprog

Overload 1

extendgrid overload 1

Boolean extendgrid(Grid grid, Location location)
Available in
  • computer function
  • computer program
  • standard futureprog
This function allows you to extend a grid (electrical, gas, liquid etc) to a new location. Returns true if the extension happened, false implies the grid was already present or there was another error.
ParameterTypeDescription
grid Grid The resolved grid to extend
location Location The location you want to extend the grid to

Overload 2

extendgrid overload 2

Boolean extendgrid(Number grid, Location location)
Available in
  • computer function
  • computer program
  • standard futureprog
This function allows you to extend a grid (electrical, gas, liquid etc) to a new location. Returns true if the extension happened, false implies the grid was already present or there was another error.
ParameterTypeDescription
grid Number The ID of the grid you want to extend
location Location The location you want to extend the grid to