sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Add new component to the selected components' origin

    Scheduled Pinned Locked Moved Plugins
    7 Posts 2 Posters 4.0k 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.
    • P Offline
      pibuz
      last edited by

      Hi to the forum! I have one question.

      I know a great native skp feature which allows to replace the selected in model components with one of the component window of the tray.

      Is the a way, a one liner I could use to get the same result but without deleting the original selected in model components? I would like just to add copies of the component in the component window in the exact same position of the ones selected in model.

      Another thing I'd need would be the possibility to do the same thing even if the selected in model components are nested into other components: the copy in this case would have to be placed in the same position but always outside the selected components.

      Is this feaseable or does exist already? Thanks in advance!

      WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

      1 Reply Last reply Reply Quote 0
      • P Offline
        pibuz
        last edited by

        I forgot to mention that my company is obviously willing to pay for such a plugin, if a development is needed!

        WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

        1 Reply Last reply Reply Quote 0
        • L Offline
          ludoroux Extension Creator
          last edited by

          Hello,
          I wrote a plugin that adds an instance of a selected SKP file to the same position of selected instances.
          The option "add same position" in the plugin menu will be grayed until at least one instance is selected.


          Add_same_position_20220314.rbz

          1 Reply Last reply Reply Quote 0
          • P Offline
            pibuz
            last edited by

            THANKS A LOT!!!!! THIS IS WONDERFUL!

            WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

            1 Reply Last reply Reply Quote 0
            • P Offline
              pibuz
              last edited by

              Hi Ludo!
              I tried the plugin you so kindly shared. Turns out that in many cases I don't want the new components to be automatically aligned to the original components' axes: all equal orientations could be enough!

              I tried opening your rb and fiddling around with the code lines not to bother you again...but really.....I'm no programmer and I can't figure out what to do.. Could you be so kind to tell me what I can remove from the main.rb file to achieve no transformation on the copied components?

              Also, is there a way to insert a specific folder to start searching from? or to remember the last path searched?

              Thank you a lot again!

              WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

              1 Reply Last reply Reply Quote 0
              • L Offline
                ludoroux Extension Creator
                last edited by

                Hello Filippo,

                I improved a little the extension and made it available on sketchucation plugin store here :
                https://sketchucation.com/pluginstore?pln=MCT_add_co2co

                The plugin now saves the last path searched as you mentionned. I also added the possibility to set a random orientation to the component added:
                https://www.youtube.com/watch?v=uVtHTkbbf8s

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pibuz
                  last edited by

                  That's fantastic!!!!! THANKS A LOT!

                  WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                  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