First time here? Check out the Help page!
1 | initial version |
You could do this with OpenStudio, specifically OpenStudio::Workspace. Something like...
require 'openstudio'
ws = OpenStudio::Workspace::load('/path/to/input.idf').get
ws.order.setOrderByIddEnum
ws.save '/path/to/output.idf'
2 | No.2 Revision |
You could do this with OpenStudioOpenStudio Idf classes, specifically . Specifically OpenStudio::Workspace. Something like...
require 'openstudio'
ws = OpenStudio::Workspace::load('/path/to/input.idf').get
ws.order.setOrderByIddEnum
ws.save '/path/to/output.idf'