Community
currently im trying to do spell check and after that plot should happen, for that I have created the below code,
(defun c:SpellCheckAndPlot ()
(command "SPELL")
(command "PLOT")
)
I want the Lisp program to pop up plot window only.
Thanks in Advance
Solved! Go to Solution.
Solved by Moshe-A. Go to Solution.
Yes you can do it, check this 😀
enjoy
Moshe
(vl-load-com)
(defun (defun c:SpellCheckAndPlot ()
(command-s "SPELL")
(if (= (getvar "diastat") 1)
(vla-sendcommand (vla-get-activedocument (vlax-get-acad-object)) "PLOT\n")
)
)
Can't find what you're looking for? Ask the community or share your knowledge.