mrharris78 Posted September 19, 2011 Share 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 Link to comment Share on other sites More sharing options...
pBe Posted September 19, 2011 Share Posted September 19, 2011 (setq fnme (strcat (getvar 'DWGPREFIX)(vl-filename-base (getvar 'DWGNAME)) ".ext")) Quote Link to comment Share on other sites More sharing options...
mrharris78 Posted September 19, 2011 Author Share Posted September 19, 2011 Cheers - SPOT-ON!! Muchas Gracias.. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 20, 2011 Share Posted September 20, 2011 Would this program help you at all? Quote Link to comment Share on other sites More sharing options...
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.