Explode Reactor

Discussion in 'AutoCAD' started by One Shot, Mar 29, 2005.

  1. One Shot

    One Shot Guest

    Does anyone have a Reactor for the Explode? This reactor should notify you when you are about to explode a block or attribute.


    Thank you very much,

    Brad
     
    One Shot, Mar 29, 2005
    #1
  2. One Shot

    vef47 Guest

    Brad:
    I use this simple reactor to notify users when they activate the "Explode" command.

    (vl-load-com)

    (or DexplodeReactor (setq DexplodeReactor (VLR-Command-Reactor nil '(:)VLR-commandWillStart . VinceEd::CommandWillStart)))))

    (defun VinceEd::CommandWillStart (pReactor sCommandName / )
    (if (= (car sCommandName) "EXPLODE")

    (ALERT ".....You Have Activated The Explode Command.........Please Do Not Explode ATTRIBUTES, DIMENSIONS or HATCHES With This Option.....
    ...........Thank You For Your Cooperation..........!!!")

    )
    )

    Just load the file on startup and it should work OK.

    Regards,
    Vince
     
    vef47, Mar 30, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.