openstudiocore/sketchup_plugin/openstudio/sketchup_plugin/lib/interfaces/SubSurface.rb
# Returns the parent drawing interface according to the entity.
Returns the parent drawing interface according to the entity.
Returns the parent drawing interface according to the entity .
def parent_from_entity
      Plugin.log(OpenStudio::Trace, "#{current_method_name}")
      if (valid_entity?)
        if (base_face = DrawingUtils.detect_base_face(@entity))
          return(base_face.drawing_interface)
        else
          return(super)  
        end
      else
        return(super)  
      end
    end
def parent_from_entity Plugin . log ( OpenStudio :: Trace , "#{current_method_name}" ) if ( valid_entity? ) if ( base_face = DrawingUtils . detect_base_face ( @entity ) ) return ( base_face . drawing_interface ) else return ( super ) end else return ( super ) end end
Returns the parent drawing interface according to the entity.
Returns the parent drawing interface according to the entity .
# Return the space interface # Return the space interface