Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can someone quickly troubleshoot my code below and see why it wont work? It is modified from another code that does work that essentially does the same thing but makes a pdf. This code is for a very quick print, I removed the filename lines of code and specified a new .pc3 print file to use. I feel like it should work but it doesn't.
(defun c:MWCP (/a b)
(setq a (getpoint "\nPick first corner: "))
(setq b (getcorner a "\nPick opposite corner: "))
(command "tilemode" "1")
(vl-cmdf "-plot"
"Yes"
"Model"
"EngineeringSharpColor.pc3"
"Ledger"
"Inches"
"Landscape"
"No"
"Window"
a
b
"Fit"
"Center"
"Yes"
"KCI-acad.ctb"
"No"
"A"
"No"
"No"
"Yes"
)
(princ)
)
Solved! Go to Solution.