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

Convert IDF geometry objects from Relative to World coordinate system

Hello,

I attach a python script convert_relative_to_world.py for converting geometry from relative to world coordinate system in idfs. Feel free to use it. Below I described a minimal quick start guide that you can follow.

  1. you should have python3 installed - https://www.python.org/downloads/
  2. eppy library installed - https://pypi.org/project/eppy/
  3. download the script from the github repository - https://github.com/Tokarzewski/db-scripts/blob/master/py/convert_relative_to_world.py
  4. check your idf version and install the same EP version from https://energyplus.net/downloads
  5. take the idd file from the instalated EnergyPlus folder.
  6. update the absolute filepaths for the idd and idf files inside the script. These are lines 5 and 9.
  7. run the script using any IDE that supports python or just use a terminal.

Let me know if something didn't work or remains unclear.

Convert IDF geometry objects from Relative to World coordinate system

Hello,

I attach would like to share with you a small python script convert_relative_to_world.py for converting that converts geometry from relative to world coordinate system in idfs. IDF files. Feel free to use it. Below I described a minimal quick start guide that you can follow.

  1. you should have python3 installed - https://www.python.org/downloads/
  2. eppy library installed - https://pypi.org/project/eppy/
  3. download the script from the github repository - https://github.com/Tokarzewski/db-scripts/blob/master/py/convert_relative_to_world.py
  4. check your idf version and install the same EP version from https://energyplus.net/downloads
  5. take the idd file from the instalated EnergyPlus folder.
  6. update the absolute filepaths for the idd and idf files inside the script. These are lines 5 and 9.
  7. run the script using any IDE that supports python or just use a terminal.

Let me know if something didn't work or remains unclear.

Convert IDF geometry objects from Relative to World coordinate system

Hello,

I would like to share with you a small python script that converts geometry from relative to world coordinate system in IDF files. Feel free to use it. Below I described a minimal quick start guide that you can follow.

  1. you should have python3 installed - https://www.python.org/downloads/
  2. eppy library installed - https://pypi.org/project/eppy/
  3. download the script from the github repository - https://github.com/Tokarzewski/db-scripts/blob/master/py/convert_relative_to_world.py
  4. check your idf version and install the same EP version from https://energyplus.net/downloads
  5. take the idd file from the instalated EnergyPlus folder.
  6. update the absolute filepaths for the idd and idf files inside the script. These are lines 5 and 9.
  7. run the script using any IDE that supports python or just use a terminal.

Let me know if something didn't work or remains unclear.

Convert IDF geometry objects from Relative to World coordinate system

Hello,

I would like to share with you a small python script that converts geometry from relative to world coordinate system in IDF files. Feel free to use it. Below I described a minimal quick start guide that you can follow.

  1. you should have python3 installed - https://www.python.org/downloads/
  2. eppy library installed - https://pypi.org/project/eppy/
  3. download the script from the github repository - https://github.com/Tokarzewski/db-scripts/blob/master/py/convert_relative_to_world.py
  4. check your idf version and install the same EP version from https://energyplus.net/downloads
  5. take the idd file from the instalated EnergyPlus folder.
  6. update the absolute filepaths for the idd and idf files inside the script. These are lines 5 6 and 9.10.
  7. run the script using any IDE that supports python or just use a terminal.

Let me know if something didn't work or remains unclear.

Convert IDF geometry objects from Relative to World coordinate system

Hello,

I would like to share with you a small python script that converts geometry from relative to world coordinate system in IDF files. Feel free to use it. Below I described a minimal quick start guide that you can follow.

  1. you should have python3 installed - https://www.python.org/downloads/
  2. eppy library installed - https://pypi.org/project/eppy/
  3. download the script from the github repository - https://github.com/Tokarzewski/db-scripts/blob/master/py/convert_relative_to_world.pyhttps://github.com/Tokarzewski/db-scripts/blob/master/py/convert_relative_to_world/convert_relative_to_world.py
  4. check your idf version and install the same EP version from https://energyplus.net/downloads
  5. take the idd file from the instalated EnergyPlus folder.
  6. update the absolute filepaths for the idd and idf files inside the script. These are lines 6 and 10.
  7. run the script using any IDE that supports python or just use a terminal.

Let me know if something didn't work or remains unclear.

Convert IDF geometry objects from Relative to World coordinate system

Hello,

I would like to share with you a small python script that converts geometry from relative to world coordinate system in IDF files. Feel free to use it. Below I described a minimal quick start guide that you can follow.

  1. you should have python3 installed - https://www.python.org/downloads/
  2. eppy library installed - https://pypi.org/project/eppy/
  3. download the script from the github repository - https://github.com/Tokarzewski/db-scripts/blob/master/py/convert_relative_to_world/convert_relative_to_world.py
  4. check your idf version and install the same EP version from https://energyplus.net/downloads
  5. take the idd file from the instalated EnergyPlus folder.
  6. update the absolute filepaths file paths for the idd and idf files inside the script. These are lines 6 and 10.script.
  7. run the script using any IDE that supports python or just use a terminal.

Let me know if something didn't work or remains unclear.