openstudiocore/ruby/openstudio/sketchup_plugin/lib/observers/ModelObserver.rb
# SketchUp 8 onPreSaveModel does not seem to be working, still need to save OpenStudio model to disk first
# in order to persist openstudio_path to save skp file
# onPreSaveModel seems to work on SU8 but doesnt fuction at all on SU 7
# We can ingnore SU7 behavior or add a verstion test to use onSaveModel vs. onPreSaveModel if SU7

SketchUp 8 onPreSaveModel does not seem to be working, still need to save OpenStudio model to disk first
in order to persist openstudio_path to save skp file
onPreSaveModel seems to work on SU8 but doesnt fuction at all on SU 7
We can ingnore SU7 behavior or add a verstion test to use onSaveModel vs.
SketchUp 8 onPreSaveModel does not seem to be working still need to save OpenStudio model to disk first in order to persist openstudio_path to save skp file onPreSaveModel seems to work on SU8 but doesnt fuction at all on SU 7 We can ingnore SU7 behavior or add a verstion test to use onSaveModel vs .
def onPreSaveModel(model)
      Plugin.log(OpenStudio::Trace, "#{current_method_name}, @enabled = #{@enabled}")
      return if not @enabled
      Plugin.command_manager.save_openstudio  
    end
def onPreSaveModel ( model ) Plugin . log ( OpenStudio :: Trace , "#{current_method_name}, @enabled = #{@enabled}" ) return if not @enabled Plugin . command_manager . save_openstudio end
SketchUp 8 onPreSaveModel does not seem to be working, still need to save OpenStudio model to disk first
in order to persist openstudio_path to save skp file
onPreSaveModel seems to work on SU8 but doesnt fuction at all on SU 7
We can ingnore SU7 behavior or add a verstion test to use onSaveModel vs. onPreSaveModel if SU7
SketchUp 8 onPreSaveModel does not seem to be working still need to save OpenStudio model to disk first in order to persist openstudio_path to save skp file onPreSaveModel seems to work on SU8 but doesnt fuction at all on SU 7 We can ingnore SU7 behavior or add a verstion test to use onSaveModel vs . onPreSaveModel if SU7
model