-
Notifications
You must be signed in to change notification settings - Fork 66
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
Get idfobjects by regex #423
Comments
@crossingchen There is no builtin way to do this. I just played around with some code
You can write a function to do this |
Sounds good. Let me try and create a PR. |
What do you think the function should be called ? |
Thanks. I looked into this a bit and it's probably best to use a function in my script as you suggested. |
I would say - Best to start with a function in your script. If it does. make sense, we can look what to call it, how the code fits within eppy etc. |
I'm trying to get all the schedule objects in an idf by using
idf1.idfobjects["SCHEDULE:COMPACT"]
andidf1.idfobjects["SCHEDULE:CONSTANT"]
. Is there a way to get all schedules using something likeidf1.idfobjects["SCHEDULE:"]
to match all object types start with "SCHEDULE:" instead of having the specify the full string of the object type?The text was updated successfully, but these errors were encountered: