mrharris78 Posted September 19, 2011 Posted September 19, 2011 Hope somebody can help I already have a few lisps which extract layer names to a text file but I need this extra step. Extract all layer names in drawing to a text file, saving the text file as the DWGNAME in the current DWG directory. I need this to be incorporated into a script so I am trying to avoid any prompts/dialogue boxes. Hence, It will just save the file without any user input. Hope this makes sense and somebody can help Cheers in advance, Harris Quote
pBe Posted September 19, 2011 Posted September 19, 2011 (setq fnme (strcat (getvar 'DWGPREFIX)(vl-filename-base (getvar 'DWGNAME)) ".ext")) Quote
mrharris78 Posted September 19, 2011 Author Posted September 19, 2011 Cheers - SPOT-ON!! Muchas Gracias.. Quote
Lee Mac Posted September 20, 2011 Posted September 20, 2011 Would this program help you at all? 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.