Create a command to re-insert a block and re-define it

Create a command to re-insert a block and re-define it

Anonymous
Not applicable
1,880 Views
2 Replies
Message 1 of 3

Create a command to re-insert a block and re-define it

Anonymous
Not applicable

The scenario:  We run routines per discipline that setup drawing files (sort of like a template) and insert all multi-leaders.  User will purge the drawing (either on purpose or by mistake) and then realize that all the unused multi-leaders have disappeared.  They have to re-insert the multi-leader dwg as a block and "re-define" it.

 

As an easier way for these users (usually engineers doing their own work) to get that dwg re-installed quicker without tje, having to think about the location of the file, I'd like to create a routine on our pull-down menu.

 

The problem is, I can't find the proper command that works for me.  I have tried the "blockname=new file", changed Expert to "2" and a couple of other things that have not worked at all.

 

Can anyone help me out please?

0 Likes
Accepted solutions (1)
1,881 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
Accepted solution
-INSERT command (there is a dash in the name), is the location to do that old=new thing. HELP explains it:
"You can control block insertion behavior using the following methods:
Inserting exploded blocks: Preceding the name of the block with an asterisk (*) explodes the block and inserts the individual parts of it. The block definition is not added to the drawing.
Updating a block path: If you enter a block name without a path name, INSERT searches the current drawing data for an existing block definition by that name. You can replace an existing block definition with an external file by entering block name=file name.
Updating a Block Definition: If you make changes to a block file that is inserted in your drawing and you want to change the existing block definition without creating a new block insertion, enter the following at the Insertion Point prompt (following the Block Name prompt):
block name=
If you enter = after the block name, the following prompt is displayed:Block "current" already exists. Redefine it?
Specify Yes or No.
If you choose to redefine the block, the existing block definition is replaced with the new block definition. The drawing is regenerated, and the new definition is applied to all existing insertions of the block definition. Press Esc when prompted for the insertion point if you do not want to insert a new block into the drawing."
0 Likes
Message 3 of 3

Anonymous
Not applicable

Well, it took some tweeking on my part, but I got it figured out.  Thanks for the help!

0 Likes