saunambon654 Posted May 9, 2013 Posted May 9, 2013 (edited) This is my code: (defun sub-plot (p1 p2) (setvar "cmdecho" 0) (command ".-plot" "y" "" "" "" "m" "" "" "" p1 p2 "" "" "" "" "" "" "" "y" "y") (princ) ) I called it from command line: Command: (sub-plot (getpoint)(getpoint)) Effective plotting area: 411.10 wide by 290.70 high Plotting viewport 2. Command: Can I turn off blue text? Edited May 10, 2013 by saunambon654 Quote
BlackBox Posted May 9, 2013 Posted May 9, 2013 Perhaps... Look into the NOMUTT System Variable. Quote
saunambon654 Posted May 9, 2013 Author Posted May 9, 2013 (edited) Thanks you very much, but it does not work! (defun sub-plot (p1 p2) (setvar "cmdecho" 0) (setvar "NOMUTT" 1) (command ".-plot" "y" "" "" "" "m" "" "" "" p1 p2 "" "" "" "" "" "" "" "y" "y") (setvar "NOMUTT" 0) (princ) ) Command: (sub-plot (getpoint)(getpoint)) Effective plotting area: 411.10 wide by 290.70 high Plotting viewport 2. Command: Edited May 10, 2013 by saunambon654 Quote
alanjt Posted May 9, 2013 Posted May 9, 2013 There are just some prompts you can't suppress. Is it really that much of an issue? Quote
saunambon654 Posted May 10, 2013 Author Posted May 10, 2013 Please use CODE TAGS and edit your posts. Sorry, already revised! Quote
saunambon654 Posted May 10, 2013 Author Posted May 10, 2013 Actually I am writing a program can be used printing multiple pages automatically. If I call it 10 times (10 pages), the command line is not so nice! Quote
alanjt Posted May 10, 2013 Posted May 10, 2013 AFAIK, it cannot be suppressed. It even display with the vla plot command. Quote
BlackBox Posted May 10, 2013 Posted May 10, 2013 The only way I know of suppressing the normal plot feedback at command line, is to either use Autopublish, or step up into .NET API... The latter can be done either in the active session as Kean demonstrates here, or via Core Console (AcCoreMgd.dll) for 2013+ as Greg demonstrates here. HTH Quote
saunambon654 Posted May 10, 2013 Author Posted May 10, 2013 wow, it mean impossible for AutoLisp? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.