Jump to content

Using VB.Net, Redefine a block


Recommended Posts

Posted

Wondering if anyone has code, or know of an example I can start from, to redefine a block. I use the words "redefine", because that is what AutoCAD asks me when I try to reinsert the same block that already exists in the drawing. That is the only way I know how to update the block without deleting it, purging it, then reinserting it.

 

Example...

Open drawing

Insert Block

Save Drawing

Close Drawing

Open Drawing that was used as the Block

Change it

Save it, close

Reopen first drawing

Block needs to be updated

Reinsert block using the browse button

Message pops up asking to redefine block

Click Yes

Block is now updated

 

Wanting to code this if possible.

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...