Hello,
the Model Layouts functionality is incompatible with the conveyors.
I managed to solve the problem for the straight conveyors with the following code, but I can't solve it for the curves because the starting angle, sweeping angle and radius are not saved.
forobjecttreeunder(model()){
if(getdatatype(a) == DATATYPE_OBJECT){
if(isclasstype(a,"Conveyor::AbstractConveyor")){
Object conv = a;
double sx = spatialsx(conv).value;
setvarnum(conv,"length",sx);
conv.applyProperties("length");
function_s(conv,"finalizeSpatialChanges");
updatelocations(conv);
}
}