Api set Restore Point / Undo
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
#Feature Requests#Feature Requests
Sign In Or Register Comment after
No comments yet. Be the first to comment!