Skip to content

Commit

Permalink
Merge pull request #148 from openstudiocoalition/147_export_SDD
Browse files Browse the repository at this point in the history
Fix #147 - Fixup save_panel for SDD export
  • Loading branch information
macumber authored Oct 11, 2024
2 parents 8259472 + 8e88398 commit 625c571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/openstudio/lib/CommandManager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def export_sdd
end
end

if (path = UI.save_panel("Export SDD Input XML Model", Plugin.model_manager.model_interface.openstudio_dir, Plugin.model_manager.model_interface.openstudio_name.gsub(/\.osm$/, ".xml")))
if (path = OpenStudio.save_panel("Export SDD Input XML Model", Plugin.model_manager.model_interface.openstudio_dir, Plugin.model_manager.model_interface.openstudio_name.gsub(/\.osm$/, ".xml")))

extension = OpenStudio::toString(OpenStudio::Path.new(path).extension)
stem = OpenStudio::toString(OpenStudio::Path.new(path).stem)
Expand Down

0 comments on commit 625c571

Please sign in to comment.