muck Posted March 3, 2011 Share Posted March 3, 2011 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, Quote Link to comment Share on other sites More sharing options...
SLW210 Posted March 3, 2011 Share Posted March 3, 2011 FIELDEVAL is the AutoCAD System Variable set at 16 Fields update on a Regen. You trying .NET or VBA? Quote Link to comment Share on other sites More sharing options...
Jeff H Posted March 5, 2011 Share Posted March 5, 2011 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.