• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

single dwg extract 1 single file for each layer

  • Thread starter Thread starter strudeldemele
  • Start date Start date

strudeldemele

Guest
Good morning to all,
I am in the following situation: I have a dwg with about 100 layers overlapping each representing a distinct table... I should extract the individual designs and bring them to pdf, so I should with a single command, make sure that every single layer is saved on a separate dwg file.
to not have to put a life and a half, I would like to avoid isolating single and manually layer by layer and making a save by name, even xè of these dwg files I have about forty.

thanks for the friendly collaboration
Good day to all
 
you can create a script using layiso and -wblock commands (commands in English, the dash in front of the command serves to give command line options)
you can use excels in the forum to automate the process
 
Good morning to all,
thanks to massivonweizen for the answer, in these days I was absent from work and I could not answer you.
Could you explain the procedure better? I'm not sure I figured out how to do it.
Thank you very much
Good day
 
You know what a script is?
is a sequence of commands equal to those you write in the command line
then you must first try to make the sequence in autocad and see if it works and then turn it into script.
Your procedure will be:
isolate a layer (English command layiso)
select all that remained on (select with all option)
export it to a dwg (wblock)

in principle should work, but obviously it should be tried on the field.
when the commands work as you want you have two roads:
- write them in a note block and repeat the sequence for each layer and then save the sheet with scan extension
- download the excel createfilescript sheet that you find on the site and use it to create the script automatically (this method is especially good if you have to do the same work on many files or you have so many layers to manage and you can automate the code using excel functions)
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top