openstudiocore/ruby/openstudio/sketchup_plugin/lib/observers/ModelObserver.rb
# added onSaveModel only if pre SU 8. In this method still need to save SKP after OSM to persist opestudio_path to save skp file.

added onSaveModel only if pre SU 8. In this method still need to save SKP after OSM to persist opestudio_path to save skp file.
added onSaveModel only if pre SU 8 . In this method still need to save SKP after OSM to persist opestudio_path to save skp file .
def onSaveModel(model)
      Plugin.log(OpenStudio::Trace, "#{current_method_name}, @enabled = #{@enabled}")
      return if not @enabled
      if Sketchup.version.to_i < 8
        Plugin.command_manager.save_openstudio
      end
    end
def onSaveModel ( model ) Plugin . log ( OpenStudio :: Trace , "#{current_method_name}, @enabled = #{@enabled}" ) return if not @enabled if Sketchup . version . to_i < 8 Plugin . command_manager . save_openstudio end end
added onSaveModel only if pre SU 8.
added onSaveModel only if pre SU 8 .
model