Hello,
I'd like to request an api command to set a point in time to revert back to after running code.
for example:
```
api("createRestorePoint");
var result = api("getSource", { type: "json" });
for (var i; i < result.FOOTPRINT.length - 1; i++) {
var object = result.FOOTPRINT[i];
if (object.head.c_para == "Diode") {
api("moveObjsTo", {
objs: [{ gId: object.gId }],
x: i * 15,
y: 0,
});
}
}
```
Then the user can Undo the changes done by the code.
Wolf
Chrome
84.0.4147.125
Windows
10
EasyEDA
6.4.3