FutureProg functions
extendgrid
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
grid |
Number |
The ID of the grid you want to extend |
location |
Location |
The location you want to extend the grid to |