FET Forum

FET Support (International) => Italian / Italiano => Topic started by: Giggino on November 13, 2018, 08:04:42 AM

Title: Inversione giornate nel timetable
Post by: Giggino on November 13, 2018, 08:04:42 AM
Salve a tutti,
Esiste una tecnica per invertire due giorni in un orario creato?
In altre parole ho un timetable valido ma voglio invertire giovedì e venerdì.

Hi all,
is there a way to swap days in the timetable? In other words i have a good timetable but i need to swap 2 days for all classes.
Is there a fast way?
Thanks
Title: Re: Inversione giornate nel timetable
Post by: Liviu Lalescu on November 13, 2018, 10:22:53 AM
Easy: open file.fet with an XML editor or text, go to "<Days_List>", swap Thursday with Friday in this section. Only one swap. Then open the file with FET and in Data->Days per week swap again Thursday with Friday, so now their order is correct.

Explanation: the first swap is for real, the second swap is only esthetic.

You can also send your file to me.
Title: Re: Inversione giornate nel timetable
Post by: Giggino on November 13, 2018, 12:21:34 PM
Thank you very much! It works perfectly....

But i realized that all is swapped, contraints too... i need to satisfy the old contraint!

So is it possible in some way to swap only a set of group? I have at least 2 groups which need to remain the same.
Title: Re: Inversione giornate nel timetable
Post by: Liviu Lalescu on November 13, 2018, 02:16:34 PM
I could derive you a custom version. It seems moderately complicated.
Title: Re: Inversione giornate nel timetable
Post by: Liviu Lalescu on November 13, 2018, 09:23:35 PM
Quote from: Giggino on November 13, 2018, 12:21:34 PM
But i realized that all is swapped, contraints too... i need to satisfy the old contraint!

I have another idea: if your locking time constraints are in order at the end of the time constraints (as it should normally be) you can open the .fet XML file with an editor and only in that section replace Thursday with Friday. Search for "Time_Constraints_List", then for the first constraint which is a locking constraint (probably for the first activity, "ConstraintActivityPreferredStartingTime"). Replace from there until the last locking time constraint.

You can also send me your file and I'll try to do this.

But you might get an impossible timetable which you need to adjust.

Please let me know.
Title: Re: Inversione giornate nel timetable
Post by: Giggino on November 14, 2018, 12:29:27 PM
Hi Liviu,
Grazie mille per la tua disponibilità! Alla fine va bene così, a scuola abbiamo deciso di lasciare l'orario così com'era :D
Sempre gentilissimo!
Title: Re: Inversione giornate nel timetable
Post by: Liviu Lalescu on November 14, 2018, 12:33:47 PM
Prego! :)

Sono contento che va bene.