openstudiocore/sketchup_plugin/openstudio/sketchup_plugin/lib/interfaces/SubSurface.rb
# Deletes the model object and marks the drawing interface when the SketchUp entity is erased.
Deletes the model object and marks the drawing interface when the SketchUp entity is erased.
Deletes the model object and marks the drawing interface when the SketchUp entity is erased .
def delete_model_object
      Plugin.log(OpenStudio::Trace, "#{current_method_name}")
      if not @model_object.adjacentSubSurface.empty?
        @model_object.resetAdjacentSubSurface
      end
      super
    end
def delete_model_object Plugin . log ( OpenStudio :: Trace , "#{current_method_name}" ) if not @model_object . adjacentSubSurface . empty? @model_object . resetAdjacentSubSurface end super end
Deletes the model object and marks the drawing interface when the SketchUp entity is erased.
Deletes the model object and marks the drawing interface when the SketchUp entity is erased .
# duplicates code in SubSurface::remove