In Solidworks I was able to create macros and use VBA to create an import script to be able to easily import dwg files for specific features of my parts. The experience was quite pleasent since macro recording provided the code I needed. In Draftsight I am having a much harder experience. I would like a single dwg file to use macro/lisp to select all items on a layer and then export those layer items to a separate .dwg file. I cannot get any macro to play back successfully, so I researched LISP. I can get my LSP file to start commands like SmartSelect and WBlock however these are dialog based commands. No documentation is provided to tell me what arguments I can use for this in the LISP script.
1. How can I write the lisp script to select all items on a specific layer and export without the use of the SmartSelect and WBlock dialogs?
2. Is there any guides on how to troubleshoot why a macro wont run? I would perfer VBA in this instance.
3. Is it worth attempting this as LISP or should I focus on getting it working as a macro? Thanks.
