Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can eppy retain order of the objects as in the original IDF?

I have a script which uses eppy to generate an Ideal Air Loads (IAL) model from a model with a complete HVAC system. I want to do further processing on this IDF and it is necessary that I have the same order of the objects as in the original IDF (which has a sorted order based on IDF Editor 1.31). Is there a way to retain the original object order in eppy. I am using the idf.saveas() function. Probably there's a different function?

Also, is there a way to retain comments made using '!' ? IDFEditor retains them but can eppy?

Can eppy retain order of the objects as in the original IDF?

I have a script which uses eppy to generate an Ideal Air Loads (IAL) model from a model with a complete HVAC system. I want to do further processing on this IDF and it is necessary that I have the same order of the objects as in the original IDF (which has a sorted order based on IDF Editor 1.31). Is there a way to retain the original object order in eppy. I am using the idf.saveas() function. Probably there's a different function?

Also, is there a way to retain comments made using '!' ? IDFEditor retains them but can eppy?