-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Issue overview
If a user mistakenly deleted a Story assignment for a Space, even after setting the Story back to what it was, they cannot view the Space's floor plan or update its render color in the Geometry / Editor tab that connects to FloorspaceJS. If the user then merged FloorspaceJS data with the current model, some Spaces are deleted.
For background information, I was hoping to develop a hands-on exercise for an OpenStudio Application training workshop where the attendee would inherit a half-complete model where various Spaces are missing, or the Spaces that are existing have some key attributes (Story, Thermal Zone, etc.) unassigned. The attached ZIP folder has three OSM files:
- 'Exercise-01.osm' is the starting point for this exercise I'm developing.
- 'Exercise-01-assign-story.osm' is after assigning Story to Spaces where that was undefined.
- 'Exercise-01-assign-story-merge.osm' is after merging the existing OSM with the FloorspaceJS data after attempting to set the Space render color.
Current Behavior
When a Space does not have a Story assigned, it is not listed in the Geometry / Editor tab.
After a Story has been assigned to a Space, the Space is then listed in the Geometry / Editor tab, but the floor plan for the Space is not visible in the grid and the Render Color input for the Space cannot be set.
Expected Behavior
If a Space has its Story setting deleted, setting the Story again should allow the user to edit the Space further on the Geometry / Editor tab:
- Select a Render Color for that Space
- See the floor plan for that Space in the grid
Steps to Reproduce
- I started off using FloorspaceJS to draw a 5-story building with some missing Spaces. I then deleted the Story assignment from a few Spaces, such as L1 Corridor and L1 East Office (see below).
When a Space does not have a Story assigned, it is not listed in the Geometry / Editor tab (see below).

- After a Story has been assigned to a Space, the Space is then listed in the Geometry / Editor tab (refer to attached 'Exercise-01-assign-story.osm'). However, the floor plan is not visible in the grid and the Render Color input cannot be set.
- For testing, I also tried deleting the Render Color assignment from a Space by:
- Clicking on text for Hex Key
- Deleting text in pop-up window
- Hitting "Esc" key
- Clicking on blank window for Hex Key
- Selecting color in pop-up window
- Hitting "Esc" key
Deleting and assigning a new Render Color like this is working in the Geometry / Editor tab correctly and that is the expected behavior.
- For further testing, I also tried merging the FloorspaceJS data with the current OSM, but that ended up deleting Spaces from the model (refer to attached 'Exercise-01-assign-story-merge.osm').
Possible Solution
Details
Environment
Some additional details about your environment for this issue (if relevant):
- Platform (Operating system, version): Windows 10, but running through a virtual machine (VM Ware) on a Mac
- Version of OpenStudioApplication (if using an intermediate build, include SHA): OS App version 1.7.0
Context
For background information, I was hoping to develop a hands-on exercise for an OpenStudio Application training workshop where the attendee would inherit a half-complete model where various Spaces are missing, or the Spaces that are existing have some key attributes (Story, Thermal Zone, etc.) unassigned.