Merge layers

Merge layers

manu.marjanen
Advocate Advocate
517 Views
4 Replies
Message 1 of 5

Merge layers

manu.marjanen
Advocate
Advocate

How to write VBA code?
Merge two layers (layer1, layer2) together into one layer (layer3)?

0 Likes
518 Views
4 Replies
Replies (4)
Message 2 of 5

grobnik
Collaborator
Collaborator

Hi @manu.marjanen could you explain better ? In my opinion you can add a Layer 3 with required properties coming from Layer 1 and/or Layer 2, find the objects on Layer 1 and Layer 2 move on Layer 3, and in case delete layer 1 & 2 if any other objects is needed on such layer.

If I right understand please let me know, I'll try to write a sample on VBA.

0 Likes
Message 3 of 5

Ed__Jobe
Mentor
Mentor

Is there a special need to do it with code? Because the LAYMRG command does this.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 4 of 5

Ed__Jobe
Mentor
Mentor

The command is hidden at the bottom of the Layers panel in the Home ribbon tab.

2022-05-12_07-45-12.png

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 5 of 5

Ed__Jobe
Mentor
Mentor

@manu.marjanen  Did you find an answer that works yet?

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes