I will take a bar magnet and hew / form it into a pyramid. I will form many of these magnets and they will all fit together perfectly. I will combine all these magnets together and as a result I will get a sphere with one magnetic pole inside and the other on the entire outer surface - just like in this picture:

In this case, the lines of force of the magnetic field will have access from one pole to the other only through the interior of such a magnetic sphere. Does this mean that it will lose its magnetic properties on the outside or will it still act like a magnet on the outside? What will the properties of such a ball be? How will it affect other magnets, including other similar spheres (both polar and vice versa)?

In this case, the lines of force of the magnetic field will have access from one pole to the other only through the interior of such a magnetic sphere. Does this mean that it will lose its magnetic properties on the outside or will it still act like a magnet on the outside? What will the properties of such a ball be? How will it affect other magnets, including other similar spheres (both polar and vice versa)?