vernonlee Posted March 18, 2015 Posted March 18, 2015 Any LISP or quick method to "copy" all layers from 100+ drawings to a single drawing? Not necessary to have any block or enity in that single drawing. Just purely layers only Thanks Quote
BIGAL Posted March 18, 2015 Posted March 18, 2015 Check out Lee-mac's Steal and maybe can be used in conjunction with a script 100 dwg's? Quote
vernonlee Posted March 18, 2015 Author Posted March 18, 2015 Thanks BIGAL. Yes i use Lee-mac's Steal before. Did not think of that. Anyone can advise how to use Script for 100 dwgs? I curently have scriptpro as well. Thanks Quote
BIGAL Posted March 18, 2015 Posted March 18, 2015 The script bit is easy need Lee's help first (Steal layer1 dwg1) (Steal layer1 dwg2) Quote
BIGAL Posted March 18, 2015 Posted March 18, 2015 Just thinking you can insert all drawings into current drawing explode once then purge pretty easy, can you elaborate a bit more what exactly you are getting from other drawing is it to be like an index sheet of 100 blocks? I can see problems if trying to line up 100 continuous drawings like a city map. Quote
pBe Posted March 18, 2015 Posted March 18, 2015 ..., can you elaborate a bit more what exactly you are getting from other drawing... Agreed. @vernonlee I believe that this is only a one time thing, I mean collecting all the layers from 100+ drawings? as soon as you have all those layer names and properties, you can use that list using a layer import routine. Question: what if the 25th drawing and 49th drawing have the same layer names but different properties , what then? Quote
Lee Mac Posted March 18, 2015 Posted March 18, 2015 Yes i use Lee-mac's Steal before. Did not think of that. Anyone can advise how to use Script for 100 dwgs? I curently have scriptpro as well. The script bit is easy need Lee's help first (Steal layer1 dwg1) (Steal layer1 dwg2) Many thanks for the recommendation BIGAL This link describes how to 'Steal' from multiple drawings; though, as others have noted, I think it would be beneficial to understand more about what you are trying to accomplish as there may be a better solution. Lee Quote
vernonlee Posted March 20, 2015 Author Posted March 20, 2015 OK. Let me clarify how this came about. I have roughly 100+ dwg whereby i will convert all layers except defpoints to a single layer called "deleted work". Most drawing is using xref main pertaining to their different storey. eg, xref-22th, xref-15th.... So this are the steps. 1) opening dwg 2) bind the xref (the layers will retain their xref name) 3) Use Laytrans to do convert to "deleted work" layer a) load a sample dwg that has the "deleted work" layer b) Select the layers in TRANSLATE FROM to change except defpoint then in TRANSLATE TO i click "deleted work" & click MAP. c) Pressing TRANSLATE a popup will appear WITH 2 OPTION:- TRANSLATE AND SAVE MAPPING INFORMATION TRANSLATE ONLY Now here is the thing. If i select to save MAPPING INFORMATION, it will save into a DWS file. So for subsequent dwg, instead of loading a sample dwg, loading this DWS file will allow similar layers that was previous selected to automatically be selected. Which is great if not for the different layer naming due to the xref binding (which i have to do this way) So that is basically why i wanted to combine all drawings layer into a single dwg. start the laytrans command then just 1 time i will select all layers then save the MAPPING INFORMATION into a sample.dws file. So for the next 99 drawing i can just load the sample.dws file & have all layers (except defpoint) selected instead of haveing to select again & again for each drawings. Hope you understand what i mean. Alternatively, if there is a better way to convert all layer to a single layer without LAYTRANS command i will be interested to know as well. Thanks BIGAL & LEE. I will try the suggested link & see how it goes. But if there is a better way , then i do not have to combine all layers to a single dwg. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.