Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm not very familiar with LISP, but I've got one part of a routine that is simply not working. I've spent a while searching online and keep seeing the same 3 answers over and over again but I can't get them to work.
What I'm trying to do is at the end of this routing, do a DXFOut on the open document and overwrite the existing file
My current code is
;(command "_.dxfout" (getfiled "DXF File:" (getvar "dwgprefix") "dxf" 1) "_Objects" (ssget) "" "_Version" "2018" "")
(command "_.dxfout" (getfiled "DXF File:" (getvar "dwgprefix") "dxf" 1) (getvar "dwgname") "_Objects" (ssget) "" "_Version" "2018" "")
I don't know if the (getvar "dwgname") is needed, because when I run this code it pops up a dialogbox asking for save location, even if I force FILEDIA to 0 before running the command
Solved! Go to Solution.