sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Plugin Help

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 459 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      TookieZA
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • TIGT Online
        TIG Moderator
        last edited by

        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...

        TIG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement