Plugin Help
-
Hi everyone,
I am quite new to SketchUp and Ruby so not too sure on a few things.
I've made a plugin for a project I'm working on for myself everything works as needed but this it where it gets tricky.I'm trying to "automate" the creation of a basic design (a room). If you select the plugin in the menu it will generate the design, but I want to find out if there is a way to execute this via code (without manually clicking the plugin).
So basically I want to open SketchUp from code and then execute generation of the design. Is this possible?
Apologies if my explanation is not the best.Thanks in advance.
-
What you suggest could be done.
You'd just have set up your code to execute as SketchUp loads, rather than giving the user the choice.BUT this would be very restrictive !
With your concept, every time a user opened SketchUp it'd run your Plugin to make a room ?
What's so bad about having it like 99.9% of tools, which run off a menu entry [or toolbar or context-menu] ?
You have given a limited description of your tool, but I suspect that you don't really want to do what you have so far said...
Advertisement