sketchucation logo sketchucation
    • Login
    1. Home
    2. swapb
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Plugins Locations

      Hi,

      I have created a sample extension .This is my Samplemenus.rb file.
      I am not getting the message box when I click on 'publish'.Am I missing something here.
      I guess the syntax is wrong somewhere. plz help.

      require 'sketchup.rb'
      module Sketchup::Sampletool

      if defined?(Sketchup::Set)
      Set = Sketchup::Set
      end

      PLUGIN = self

      def pop_message
      UI.messagebox('Hit')
      end
      #------------------------------------------------------------------------------

      Add things to the Utilities menu

      if( not $edrawings_menu_loaded )
      sample_menu = UI.menu("Plugins").add_submenu("sample")
      sample_menu.add_item("Publish") {pop_message }
      $edrawings_menu_loaded = true
      end

      posted in Developers' Forum
      S
      swapb
    • RE: Plugins Locations

      I have tried that too.I have changed the thirdparty from ruby1.8 to ruby2.0 and built my project in vs2010, but the error persists.

      posted in Developers' Forum
      S
      swapb
    • RE: Plugins Locations

      Hi,

      I am a newbee in sketchup plugin development and I am facing an issue with sketchup 2014.
      My plugin dll is not geeting loaded in su2014,which used to get loaded without any errors till su2013.

      I am getting the following error messages

      Error Loading File sketchupConnector
      Could not find included file 'sketchupConnector'
      Error Loading File C:/Users/damayantib/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/eDrawings/edpublisher.rb
      Error: #<NoMethodError: undefined method check_license' for Sketchup::EDrawingsTools:Module> C:/Users/damayantib/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/eDrawings/edpublisher.rb:583:in module:EDrawingsTools'
      C:/Users/damayantib/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/eDrawings/edpublisher.rb:5:in <top (required)>' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require'
      C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in `load'

      Can anyone help me with this issue!!!

      Thanks in advance.

      posted in Developers' Forum
      S
      swapb
    • 1 / 1