Hi Lorenz,
I think this should lay out what you’re looking for. The key part is the cartopol object (the help patch will give more information). The patching here is sloppy so I wouldn’t recommend copy/pasting this in, but it should illustrate how to get all the information you might need:

– Pasted Max Patch, click to expand. –

Copy all of the following text. Then, in Max, select New From Clipboard.