Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I having a hard time implementing my search results to my issue. It seems like a common mistake, but I cannot understand where to fix the issue. I've tried removing any possible additional "" and tried replacing the hyphen before the command with a period or underscore. The same result happens.
The command works as needed. After the routine finishes, the command echo's with an "unknown command". See attached image please. Thank you for the advise.
;.... Xref Delete 2017 FBC notes & Details and Loads 2020 FBC....
(defun C:trump2020 ()
(setvar "cmdecho" 0)
(command "-xref" "Detach" "2018 STANDARD DETAILS" "" "" "")
(command "-xref" "Attach" "2020-StandardDetails" "1980,0" "" "" "")
(command "draworder" "Last" "" "Back" "")
(command "-xref" "Detach" "2018-NOTES PAGE" "" "" "")
(command "-xref" "Attach" "2020-NotesPage" "1500,0" "" "" "")
(command "draworder" "Last" "" "Back" "")
(command "-xref" "Unload" "WindowProtectionSystem" "" "" "")
(setvar "cmdecho" 1)
(princ)
)
Solved! Go to Solution.