public static void RequestRevertShape(IMyVoxelBase voxelMap, IMyVoxelShape voxelShape) { MyVoxelBase voxel = voxelMap as MyVoxelBase; MyShape shape = voxelShape as MyShape; if ((voxel != null) && (shape != null)) { shape.SendRevertRequest(voxel); } }