Cannot seem to be able to export an SDD xml file from my OpenStudio SketchUp model.
I cannot seem to be able to export an SDD xml file from my OpenStudio SketchUp model. When I click on the option in the Export menu nothing seems to happen. I am not asked where I would like to save the file, unlike trying the other export options.
I would like to use the SDD to bring in the detailed geometry into CBECC-22. I have done it before, albeit months ago, so I might have done it a different way at the time but forgot how.
I am currently on SketchUp Pro 2021 and I just upgraded the OpenStudio Application to v1.7.0 and the SketchUp Plug-in to v1.8.0. This didn’t seem to help.
Could you offer any suggestions?
Thanks
@emroberson can you upload your model to Google Drive, Dropbox, etc. and then share a URL for others to download? That would help others provide better solutions.
I ended up looking at the ruby script differences between the export_gbxml and the export_sdd. Exporting to gbxml worked for me. The following ruby script showed a difference between def export_gbxml and def export_sdd: C:\Users\Eric\AppData\Roaming\SketchUp\SketchUp 2021\SketchUp\Plugins\openstudio\lib\CommandManager.rb
I changed the def export_sdd at the second if-statement to match the def export_gbxml: [if (path = UI.save_panel("Export SDD Input XML Model", ....] changed to [if (path = OpenStudio.save_panel("Export SDD Input XML Model", ....]
I was then able to save an .xml.
@emroberson great! If you feel that your solution works, feel free to post that as an "answer" and reap the karma points from upvotes.
Thanks @Aaron Boranian. I really know very little about coding or using Q+A forums like this. Sorry for any mistakes in protocol for posting. I'll post an answer after the required 2-day wait period.