I have some scripting I used before to auto-place a large number of footprints in a specific configuration. I haven't used it in a while. Just tried and I'm getting a generic error. It seems to specifically be the moveObjs method that causes the problem. Here's the script and the error...
api('moveObjs', {objs:["gge1404"], addX:75,addY:0});
![image.png](//image.easyeda.com/pullimage/krJsE6WekdfWLmXH3L0bjipOMemefFfyp5f9fZWM.png)
The interesting thing is that most of the object moves but it leaves some of the pads behind. If I move the object after this it snaps the pads back into the correct location. So that's kind of a workaround. Except that the script stops when it gets this error. So I can't run it in bulk. I would have to enter the command one at a time and then move it slightly for each of the 108 items I have to place. Not so automated. Any thoughts on what the error might be? Was there any change in the moveObjs API call that might have caused a bug? I tried some other PCB lib objects that aren't my own and I at least get the error even if in some cases everything moves. So it doesn't appear to be directly an issue with my lib. Thanks.
Vivaldi
2.4.1488.38
Windows
10
EasyEDA
6.2.44