You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on a script. So, when i tried to make a list of the objects 'WindowMaterial:SimpleGlazingSystem', got the following error:
File "xxxx", line 155, in <module>
simpleglazinglist = ([simpleglazing.Name for simpleglazing in idf1.idfobjects['WindowMaterial:SimpleGlazingSystem']])
KeyError: 'WindowMaterial:SimpleGlazingSystem'
I got this error when i included from geomeppy import IDF. However, there was no error when i included
from eppy import modeleditor
from eppy.modeleditor import IDF
Finally, to make the script work, i had to make 2 separate scripts, one importing IDF from geomeppy, and the other one importing IDF from eppy.modeleditor.
Is there anything i can do to make just 1 script instead of 2?
Thanks in advance.
PS: thank you so much for developing such a powerful package, it's really awesome
The text was updated successfully, but these errors were encountered:
daniellosg
changed the title
KeyError
KeyError: 'WindowMaterial:SimpleGlazingSystem'
Oct 18, 2020
Hi Jamie,
I've been working on a script. So, when i tried to make a list of the objects 'WindowMaterial:SimpleGlazingSystem', got the following error:
I got this error when i included
from geomeppy import IDF
. However, there was no error when i includedFinally, to make the script work, i had to make 2 separate scripts, one importing IDF from geomeppy, and the other one importing IDF from eppy.modeleditor.
Is there anything i can do to make just 1 script instead of 2?
Thanks in advance.
PS: thank you so much for developing such a powerful package, it's really awesome
The text was updated successfully, but these errors were encountered: