I had some frustration last night doing some rework on a PCB. I have parts arranged in a circle on a PCB with specific rotations. I have collected the placement and rotation commands into a script that worked great when I wrote it but which quit working with an error "Invalid point". Thinking I had introduced some bad syntax I spent some time trying different things only to realize that my grid had changed from mils to inches and the coordinates in the script were far beyond the bounds of the PCB. Please change this message to something like "Point lies outside the bounds of the drawing". You could also add some helpful text like "Please check your grid unit settings".
--steve