Sha256: 965f1cdbfcfa69a879c89f5afe63353d8b754cac85a01bd97079b87c7151d7ba
Contents?: true
Size: 450 Bytes
Versions: 11
Compression:
Stored size: 450 Bytes
Contents
require 'sketchup.rb' module <%= project.namespace %> unless file_loaded?(__FILE__) menu = UI.menu('Plugins').add_submenu(EXTENSION[:name]) menu.add_item('Make Magic') { self.make_magic } menu.add_separator menu.add_item('Help...') { self.open_help } file_loaded(__FILE__) end def self.make_magic # Do magic here... end def self.open_help UI.openURL(EXTENSION[:url]) end end # module
Version data entries
11 entries across 11 versions & 1 rubygems