Saturday, July 15, 2006

Double-click blocks in AutoCAD 2007

If you want to change the double-click behavior in AutoCAD 2007 here are some tips. When installing AutoCAD 2007 this will happen when double-clicking:
  • A plain block - The block editor starts (Bedit command)
  • Any block with attributes - The enhanced attribute editor starts (Eattedit command)
  • A dynamic block - The block editor starts (Bedit command)
  • The block editor is for editing of dynamic blocks. Right click on the block and select "Edit Block In-place" to edit plain blocks. One limitation with the block editor is that it is only for 2D.

    The BLOCKEDITLOCK system variable can be set to 1 and that will result in the following behavior and the Block Editor cannot be opened:

  • A plain block - The properties palette opens (Properties command)
  • Any block with attributes - The enhanced attribute editor starts (Eattedit command)
  • A dynamic block - The properties palette opens (Properties command)
  • If the Bedit command is run when BLOCKEDITLOCK is set to 1 this message will show:
    ** BEDIT command not allowed. Block Editor is disabled. **

    If you want to be able to double click on a plan non-dynamic block and edit it in-place use CUI and change the Double Click Actions for Block. Use ^C^CRefedit as macro. The original macro is in case you want to restore it: $M=$(if,$(and,$(>,$(getvar,blockeditlock),0)),^C^C_properties,^C^C_bedit)
    This will be the result:

  • A plain block - The reference editor starts (Refedit command)
  • Any block with attributes - The enhanced attribute editor starts (Eattedit command)
  • A dynamic block - The properties palette opens (Properties command)
  • 2 comments:

    1. Naresh NichaniJuly 05, 2010

      Is there any way to diable the "Enhanced Attribute Editor" for specific blocks.

      ReplyDelete
    2. Not easily but it might be possible with programming.

      ReplyDelete