-
Notifications
You must be signed in to change notification settings - Fork 25
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
Duplicated orphaned ScheduleRule when making a new profile based on existing one #298
Comments
Can you attach the original OSM you imported @rwadhwa910 ? By import, do you mean you loaded the OSM as a library and dragged the schedule into your model from the library? |
@rwadhwa910 ping. |
|
I'm not seeing this same behavior but I am seeing orphan schedule day objects created when you "Make a new profile based on" another schedule. |
I can't see the duplicated stuff. I suspect user tried to load the same OSM as a library, and while editing the OSM tried to import from that "library". As far as orphaned... There's a double clone happening between the OSApp and the SDK. OpenStudioApplication/src/openstudio_lib/SchedulesTabController.cpp Lines 121 to 134 in d115b03
It's perhaps confusing but the SDK ctor |
For the record, the same applies to Summer/Winter/holiday profiles... ScheduleRuleset::setXXXDesignDaySchedule ALSO clones the schedule day it's passed (which is confusing). |
Is there really an action item for us here? Seems like this is the default behavior of the OS SDK (which clones the schedule days), or am I misreading the situation? |
I have imported a schedule from a library which has 12 different schedules within it. After getting imported each schedule creates a copy of its own schedule as shown in the image below.
OS APP 1.1.0
Windows 10
The text was updated successfully, but these errors were encountered: