• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Contributor
    miroko
    Posts: 19
    Registered: ‎03-06-2011

    Re: ATTOUT and ATTIN to file by lisp

    10-15-2012 09:55 AM in reply to: AR12

    AR12 wrote:

    Hi miroko,

    Here's how I do it in my programs:

     

    ;;;At the Beginning of program:
    
    ;;;Save and Change AutoCAD Variables
    (setq CE-SAVE (getvar "cmdecho"))
    
    ;;;Change AutoCAD variables
    (setvar "cmdecho" 0)
    
    ;;;At the end of program:
    
    ;;Return Variables to original state
    (setvar "cmdecho" CE-SAVE)

     


    Hi AR12,

     

    It is working fine.

     

    Thank you.

     

    regards

    miroko

    Please use plain text.