Python Code Example not working

Hello,

I'm trying to automate the creation of points with a python script. My problem is that I don't know how to reference a geometrical set, that already exists. The example in the documentation that should do what I want doesn't work for me.

If anyone knows the answer/ the module im missing here, I would be very grateful for any help or tipps.

Edu ​​​​​​​