Paste In Place a Copy to Current (Active) Layer
-
I was wondering if someone would be willing to create a script that would Paste In Place a copy of a selection to the Current (Active) Layer.
Pasting in place geometry over itself in order to put the copy onto a another layer can be fiddly.
Regards, John
-
+1
Yes please that would be great.
I would like it even as a deafult beahvior of the sketch up to paste geometry on active layer.
Or make a switch for it so we can make this feature work for every scenario. -
It appears that Sketchup wont allow two entities to occupy the same location even if they are on separate levels. I think you would have to group them first. Something like this
mod = Sketchup.active_model ent = mod.active_entities sel = mod.selection org = ent.add_group sel; org.name = 'org'; org.layer = 'Layer0' new = org.copy; new.name = 'new'; new.layer = mod.active_layer new.entities.each{|e| e.layer = mod.active_layer} -
[Update]
see posting below -
The attached will copy and paste in place a group or component to another layer.
It will appear in the Edit menu as "Paste In Place Copy of Group/Component to Layer".
Paste In Place A Copy.rbSelect a group or component and run the script. You will then be asked to choose a layer to paste the copy. The current layer will be initially displayed in the list.
Thanks Sdmitch.
Here is a test file to experiment with (SU2015 format).
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 LoginAdvertisement