Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'WindowMaterial:SimpleGlazingSystem' #202

Open
daniellosg opened this issue Oct 18, 2020 · 0 comments
Open

KeyError: 'WindowMaterial:SimpleGlazingSystem' #202

daniellosg opened this issue Oct 18, 2020 · 0 comments
Labels

Comments

@daniellosg
Copy link

daniellosg commented 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:

  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

@daniellosg daniellosg changed the title KeyError KeyError: 'WindowMaterial:SimpleGlazingSystem' Oct 18, 2020
@jamiebull1 jamiebull1 added the bug label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants