Revision history [back]
As far as I know, there is no way to retain object ordering or comments using eppy idf.saveas(), and I'm unaware of any other save functions that would.
I would recommend using Modelkit for your IDF processing. Modelkit does retain comments and ordering.