Someone's requested I add a dialog interface similar to the normal LayMrg command. The attached is a 1st attempt at it. Please do some testing and/or suggestion and/or fixing![]()
Someone's requested I add a dialog interface similar to the normal LayMrg command. The attached is a 1st attempt at it. Please do some testing and/or suggestion and/or fixing![]()
Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!
Hi, thanks for the post. The dialog box does indeed appear, but it doesn't allow you to select the layers listed, & locks up beyond that point to where you have to close out CAD entirely. At least we're one step closer
Thanks again for your continued time & effort with this request.
Hi irneb!
The LISP you shared is what I am looking for for a long time, almost...only I do need to change the layer color as well. Can you please delete the part for this from the LISP and share with us? Many thanks in advance...
Goembi
Sorry for only coming back now, this thread seems to have been missed in the hoodlum of my year
Anyhow, I'll look into the crash for the dialog. Probably a mistype on my part somewhere
As for the "changing of colour". I'm assuming you mean you'd like to have all other settings change to individual properties, but leave color bylayer as is? I.e. if the line was on layer X (layer's props: color Red; linetype Dashed) and the line's color & lt being Bylayer. Then if you merge X into Y (where Y's colour is Yellow & lt=Continuos) you'd like to have the line change to Color=ByLayer(Yellow) Linetype=Dashed.
That would need some extra settings in my lisp. Probably a bit of a re-write. For the time being, would using the SetByLayer command directly after my lisp be sufficient? It has settings to only set color/linetype/etc. back to ByLayer. It's not perfect (appart from another step) it could change all colours to bylayer - even those which weren't bylayer to begin with.
Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!
Good morning!
What I do:
- Create new MYLAYER / WHITE / CONTINUOUS
- Draw line in MYLAYER
- Draw lines in all existing layers
- LAYMGR2
- Select lines in existing layers
- Select line in MYLAYER
- Result all on my drawing is in MYLAYER, color and linetype remains
The result I am looking for is a result with all of my drawing in MYLAYER, color BYLAYER (MYLAYER), linetype is the original from the old exising layers.
Like this the drawing will have one layer, one color but different linetypes.
I hope this made it clearer for you.
Thanks!!
Could the lisp also including lineweight.
thank a lot if you can help me to solve the problem.