Add new component to the selected components' origin
-
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!
-
I forgot to mention that my company is obviously willing to pay for such a plugin, if a development is needed!
-
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.
-
THANKS A LOT!!!!! THIS IS WONDERFUL!
-
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!
-
Hello Filippo,
I improved a little the extension and made it available on sketchucation plugin store here :
https://sketchucation.com/pluginstore?pln=MCT_add_co2coThe 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 -
That's fantastic!!!!! THANKS A LOT!
Advertisement