Merlin of Mines - Space Engineers

A set of useful scripts for aspiring Space Engineers!

View on GitHub

Grid Block Handler

This Block Handler handles Grids, giving you access to a few of the properties on the grid which your program and blocks reside upon. Note that there are no block group keywords for grids.

Note that this block handler does not extend from Terminal Block, so this Block Handler does not have properties defined in the Reference: Terminal Block Handler.

“Name” Property

Gets/Sets the name of the grid for on which this block resides. Note that if a selector is used which spans multiple grids, all grid names will be retrieved or set.

Print "Grid Name: " + my grid name

set my grid name to "My New Name"

Print "All Grids: " + all grid names

set the name of all grids to "My New Name"

“Static” Property

Gets whether the current grid is static

Print "Grid is Static: " + my grid is static

“Size” Property

Gets whether the current grid size is large or small. If large, will return “large”, otherwise returns “small”

Print "Grid Size: " + my grid size