I'm new to python and I'm trying to create a tool that would do the following:
1- Create a new Point feature class.
2- Generate points based on an algorithm which is:
a- Points must be 50 meters apart.
b- Points must be 1 meter away from polygons edges (building) "A user input polygon feature".
3- Add the X,Y for these points.
I know that I can use Create Feature Class tool for #1 and Add XY Coordinates tool for #3, however, I'm not sure how to implement those in the script.
On the other hand, I can build a model that has the Create Feature Class and Add XY Coordinates tools but I'll need #2 to add to the model.
This tool is for Electricity Poles placement.
I would appreciate the help on this one.
Also, if you can provide me with sources for python learning that would be great!!