Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

OpenStudio Sketchup Inspector, new-copy-delete buttons grayed?

asked 2018-09-21 13:53:56 -0600

Dan Johnson's avatar

updated 2018-09-21 17:46:27 -0600

I would like to delete the erroneous "Surface 171," which cannot be rendered,* using the "Select Object" sub-window within the OpenStudio Inspector in Sketchup. However, the "delete" button seems to be grayed out. Is this the incorrect method for deleting this surface? How is it meant to be deleted from within the Sketchup GUI? Could we please add this ability? Screenshot cannot be attached because I need >10 points. Thanks

'* In response to the following error produced upon loading the OSM model into Sketchup, I am trying to delete Surface 171:

Error: Surface 171 This planar surface shares the same SketchUp face as Surface 104. This error cannot be automatically fixed. The surface will not be drawn.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-09-21 16:59:44 -0600

TomB's avatar

As the error message says, the surface was not drawn. Because it was not drawn, it can't be deleted with Sketchup or OpenStudio Inspector tools.

A visual, simple, nothing fancy technique here is to use the OpenStudio Inspector to re-assign the Space to which that surfaces belongs. i.e.

  1. create new space
  2. rename new space 'delete me' via the OpenStudio Inspector
  3. identify erroneous surface, and via the Inspector, change that surface's Space to 'delete me'
  4. save your .osm
  5. reload .osm
  6. you should see the problem surface rendered in space 'delete me'
  7. now that you can see it, you can delete it

alternatively, try this in the ruby console.

model = Sketchup.active_model.model_interface.openstudio_model
erroneous_surface = model.getSurfaceByName("Surface 171")
erroneous_surface.remove()
edit flag offensive delete link more

Comments

The Inspector buttons are also grayed for surfaces that are rendered. Surfaces, Subsurfaces, and Spaces. It would be useful if I could use the delete button for any of these elements, whether it's rendered or not.

At the same time, there are elements that are not rendered, or renderable, for example: OS:ShadingControl, BuildingStory, DefaultConstructionSet, which have live new-copy-delete-etc. buttons with colors on the Inspector. I am able to delete the ShadingControl from the Inspector.

Dan Johnson's avatar Dan Johnson  ( 2018-09-23 19:20:22 -0600 )edit
Dan Johnson's avatar Dan Johnson  ( 2018-09-24 11:23:25 -0600 )edit
Dan Johnson's avatar Dan Johnson  ( 2018-09-24 11:24:17 -0600 )edit
Dan Johnson's avatar Dan Johnson  ( 2018-09-24 11:24:40 -0600 )edit

Since this is a recurring issue, it would be great if the erroneous Surfaces and Subsurfaces could be deleted from within the Inspector, where they are listed. However, it appears that even objects that ARE rendered cannot be deleted from within the Inspector. Could we add this functionality? It might save all these threads and scripts and workarounds. It appears that this functionality exists for OS objects/elements that are non renderable, some of which I listed in previous comment. Where do we submit feature requests? Thanks

Dan Johnson's avatar Dan Johnson  ( 2018-09-24 11:27:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2018-09-21 13:53:56 -0600

Seen: 500 times

Last updated: Sep 21 '18