- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to programmatically delete a certain selection of lines. I *think I have two options here (1) Using Macros (2) Using LISP
1) Using macros. I recorded the macro and it worked great. The problem is that I need to save this macro in a shared network folder.
Example: P:\myMacros\new_macro.actm
I want to call this macro via lisp but I cannot seem to call a macro from a folder outside of AutoCAD's "support" folder.
This works --> (command "new_macro") but it calls the macro from the user's C: drive. I need to call it from the shared folder.
I have already tried (command "P:/myMacros/new_macro") but I get an error that it is an unknown command
2) Using AutoLISP. I thought about using LISP to draw a window and then delete the elements, but in some cases the lines cross other lines that do not need to be deleted. So now I'm lost in how to delete a certain selection of lines.
Does anyone have any suggestions?
Solved! Go to Solution.