disable EXPLODE

Discussion in 'AutoCAD' started by Mike Manning, Jan 21, 2004.

  1. Mike Manning

    Mike Manning Guest

    Is there a way to disable the EXPLODE command?
     
    Mike Manning, Jan 21, 2004
    #1
  2. Mike Manning

    ffejgreb Guest

    Undefine <enter> Explode
     
    ffejgreb, Jan 21, 2004
    #2
  3. Mike Manning

    Randall Culp Guest

    Hey Mike how goes it?

    Remember that even after executing the UNDEFINE EXPLODE as shown below, the
    command can still be executed by adding a <period> in front of the command,
    as in .EXPLODE
     
    Randall Culp, Jan 22, 2004
    #3
  4. Mike Manning

    Mike Manning Guest

    Some people in our group explode dims, blocks, p-lines and even hatching. So
    until I get them 'educated" I have to take measures.
     
    Mike Manning, Feb 3, 2004
    #4
  5. Mike Manning

    Ian A. White Guest

    One way to make sure that can't do this is to use a reactor that checks
    for the explode command and if it is run, it cancels it and displays a
    message.

    The other way of simply undefining it is that by adding a period in
    front of explode as in .explode will see the command run.
     
    Ian A. White, Feb 3, 2004
    #5
  6. Mike Manning

    Randall Culp Guest

    Hey Mike how's Utah this time of year?

    To add to Ian's reply. Once the command is undefined, you can write a
    replacement for it in lisp. Something simple may be effective like:

    ;;;;;;;;;;;;;;;;;;;;;;;;
    (command "undefine" "explode")
    (defun c:explode ()
    (alert "DO NOT USE THE EXPLODE COMMAND - See Admin")
    )
    ;;;;;;;;;;;;;;;;;;;;;;

    Copy the above into the ACAD.lsp and every time they enter EXPLODE they'll
    get a little box telling them not to.




     
    Randall Culp, Feb 3, 2004
    #6
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.