Redefining blocks

Redefining blocks

Anonymous
Not applicable
112 Views
1 Reply
Message 1 of 2

Redefining blocks

Anonymous
Not applicable
Hello all.

I've looked through the N/G and found some posts regarding redefining
objects colors within a block, but what I'm looking to do is completely
redefine the block with another block.

Any info would be greatly appreciated.
Thank you

Warren Medernach
0 Likes
113 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
This probably isn't the best way but...

If the new block definition is an external dwg file, you could possibly use
SendCommand to mimic the way a user would redefine a block.

To redefine a block in AutoCAD you use the command line "-Insert" command
and at the prompt for the block name you enter the "existing block name =
external dwg name". This is how the user would do it in AutoCAD;

Command: -insert
Enter block name or [?] <>: "Hydrant=D:\Symbols\Hydrant2"
Block "Hydrant" already exists. Redefine it? [Yes/No] : y
Block "Hydrant" redefined
Regenerating model.
Specify insertion point or [Scale/X/Y/Z/Rotate/PScale/PX/PY/PZ/PRotate]:

The name of the external file can be the same as the block or different.

Glen

Warren Medernach wrote in message <7ufusf$oae16@adesknews2.autodesk.com>...
>Hello all.
>
>I've looked through the N/G and found some posts regarding redefining
>objects colors within a block, but what I'm looking to do is completely
>redefine the block with another block.
>
>Any info would be greatly appreciated.
>Thank you
>
>Warren Medernach
>
>
0 Likes