Categories

AutoCAD 2015 and AutoCAD LT 2015 BibleAutoCAD 2015 and AutoCAD LT 2015 Bible

The most comprehensive AutoCAD book around!

Toggling the display of grips within blocks

By default, when you select a block, AutoCAD displays only one grip, at the block’s base point. However, what if you want to grip edit the block from some other point in the block. You can do so by displaying the grips of all the objects in the block. Jack Foster sent in a great AutoLISP routine that easily toggles between these modes. To use it, type the following at the end of your acad.lsp file (or create the file if it doesn’t exist and put it in your AutoCAD’s  \Support folder).

(defun c:gb()
(setvar “gripblock” (abs(1- (getvar “gripblock”))))
)

This will load automatically when you start AutoCAD. Then simply type gb to run the routine. Each time you use gb, the routine toggles the GRIPBLOCK system variable setting. Here you see the results of both settings.


Jack notes that you can use the same method to toggle other system variables that use 0 and 1 as their two values, such as tilemode.

1 comment to Toggling the display of grips within blocks

  • lenin

    Hai
    Dear friend. I am having a important question. When I explode my block (plans with dimensions) all my dimension lines are moving here and there and its orgin point is some where. How can it be solved?

    Thanking you!

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>