Answer the question
In order to leave comments, you need to log in
How to get the dimension of a selected object in SketchUp?
Started learning plugin building for SketchUp. I know Ruby only by hearsay.
I made an initial module for the extension:
require 'sketchup.rb'
module Ans
module Stair
def self.create_stair
# model = Sketchup.active_model
# model.commit_operation
end
unless file_loaded?(__FILE__)
menu = UI.menu('Plugins')
menu.add_item('Create Stair') {
self.create_stair
}
file_loaded(__FILE__)
end
end
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question