sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Urasik Extensions | Lots of new extensions to check out Learn More

    Load more than one extension

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    3 Posts 3 Posters 241 Views 3 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.
    • J Offline
      juliogriebeler
      last edited by

      Hello,
      i want to load 3 similar extensions with different names and icons.

      But with all activated in the menu Window/Preferences,
      in the menu View/Toolbar/ shows only one of them.
      Anyone know a solution to load the three at the same time?

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        Júlio,

        I'm a little confused by your questio. Are these extension you have written yourself?

        Hi

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

          @juliogriebeler said:

          Hello,
          i want to load 3 similar extensions with different names and icons.

          But with all activated in the menu Window/Preferences,
          in the menu View/Toolbar/ shows only one of them.
          Anyone know a solution to load the three at the same time?
          This probably belongs in the Developers' forum ?
          When you write a new 'tool' you create a toolbar and add commands into it; each commands has its own button images etc...
          If you have separate scripts loading you need to make an enduring reference to the toolbar.
          So have a 'loader' script, with a 'module' [say module Julios...... end] in which you define the toolbar with a @tbar = ... reference.
          Then get it to load the other scripts which you have in a subfolder [perhaps called 'Julios'].
          Then have each of those script's 'tools' encased in the same named 'module', and have some code to add each tool's command/button to ' @tbar' toolbar.
          This way you make the toolbar and add items too it from other scripts, by sharing the same module and a common reference to the toolbar, using a @ name that 'endures' 😄

          TIG

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement