Message 1 of 13

Not applicable
06-18-2018
05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the following code, on the last line, I'm trying to figure out how to make the drawing save as to a specific location. It will use its' current drawing name. Any help would be appreciated.
(defun c:test ()
(command "_.purge" "_all" "*" "_no"
"_.setbylayer" "_all" "" "_yes" "_yes"
"_.layer" "_color" "253" "*" ""
"_.audit" "_yes"
"_.saveas" "2013" "S:\ENGINEERING\JOBS\16-006 GM Ramos\DRAWINGS\GK\GK XREF\" "Here is where I think I can tell it to use its current dwg name")
)
Solved! Go to Solution.