Jump to content

Can fields retrieve attribute values form reinserted block references??


muck

Recommended Posts

AutoCAD fields can be mapped retrieve an attribute value form a block but if the block reference

is removed form the drawing the field will only give ### values. If a block reference reinserted in the drawing the field values remain ###. Is there a way to get the field to retrieve attribute value from reinserted block reference without remapping the field??

 

Thank you,

Link to comment
Share on other sites

Looking at the attached picture

It appears in the Extension dictionary of the Field the ObjectId of the AttributeReference is stored as part of the Field Code. So when you delete the blockreference there is no longer a vaild ObjectId, but when you insert a new one editing the Field Code to match the ObjectId of the new Attribute Reference and a Regen would probably work.

This seems like it might be useful.

I will code something up and post later

Capture.jpg

Link to comment
Share on other sites

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...