- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I need a little help.
I have a number of drawings that contain various layers named in an old way.
I need to merge these old layers into a new layer.
Here are some examples, in the same file that I would need to merge:
Old Layer 1 > New Layer 1
Old Layer 2 > New Layer 2
Old Layer 3 and 4 > New Layer 3
Old Layer 5 (remains as is, no merging required).
I can do this (rather tediously) using the LAYMRG command, but I have about 30 instances in a drawing to do, and I have about 100 drawings to do it in.
Ideally, I would like to create a reference table that contains what merges with what, and then call this with a scipt inside the drawing file. I'm happy to open each drawing and run the script each time rather than batch run the script.
Can anyone help me work out a script to do this, as I am unfamilar with the scipt syntax (I will need to learn).
I did find an old script (possibly 2008), but it won't run because I think the old MergeLayers command is defunct in 2015LT. I tried to substitiute for the LAYMRG command, but with no luck.
Any help would be very greatly appreciated 🙂
Cheers,
Glynn
Solved! Go to Solution.