Cannot seem to be able to export an SDD xml file from my OpenStudio SketchUp model.

asked 2024-10-01 16:26:57 -0500

emroberson's avatar

updated 2024-10-02 09:42:38 -0500

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

edit retag flag offensive close merge delete

Comments

@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.

Aaron Boranian's avatar Aaron Boranian  ( 2024-10-02 09:42:18 -0500 )edit

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's avatar emroberson  ( 2024-10-02 12:09:07 -0500 )edit

@emroberson great! If you feel that your solution works, feel free to post that as an "answer" and reap the karma points from upvotes.

Aaron Boranian's avatar Aaron Boranian  ( 2024-10-02 12:12:10 -0500 )edit

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.

emroberson's avatar emroberson  ( 2024-10-02 12:29:25 -0500 )edit