Batch LayMrg for an entire directory fails...

Batch LayMrg for an entire directory fails...

Anonymous
Not applicable
747 Views
2 Replies
Message 1 of 3

Batch LayMrg for an entire directory fails...

Anonymous
Not applicable

Hello Everyone,

I am trying to take Lee Mac's Script Writer and run my lisp file for an entire directory of .dwg files. 

The lisp will run laymrg for each of the layers I set in my list. the problem I need help with is when I use the Script Writer it will open the first drawing and convert the layers but then it wont continue to go through the directory and open the drawings. 

Is there something I am doing wrong or is there another way I can do this? 

Attached are the .lsp files I am using as well as the layers I am trying to convert. 

Any help is appreciated! 

Thanks

0 Likes
748 Views
2 Replies
Replies (2)
Message 2 of 3

Sea-Haven
Mentor
Mentor

The problem sounds more like your script you have not posted that, sounds like where to start.

0 Likes
Message 3 of 3

Anonymous
Not applicable

I see, I forgot to add that... 

_.open *file* (load "batch_laytrans.lsp" nil) (batch_laytrans) _.close *file*

This is the script I am using in the window that pops up for Lee Macs program. 

0 Likes