In the attached model, the OnModelReset code was used to create tools and operators by duplicating existing ones. For some reason, the duplicated operator location is revert back to the parent operator location after exiting the OnModelReset code?
Object defaultOperator = Model.find("Operator1");
table = Table("Operators");
rows = table.numRows;
for(int i=1; i <= rows;i++){
string name = table[i]["Name"];
Object newOperator = createcopy(defaultOperator, model());
setname(newOperator, name);
operators.addMember(newOperator);
newOperator.location.x = 0;
newOperator.location.y = 5;
}