c# code to add new attribute value to a block

c# code to add new attribute value to a block

Anonymous
Not applicable
7,997 Views
22 Replies
Message 1 of 23

c# code to add new attribute value to a block

Anonymous
Not applicable

I wanted to add new attribute value to block by opening a autocad drawing & selecting block for which the new attribute value should be added

0 Likes
Accepted solutions (1)
7,998 Views
22 Replies
Replies (22)
Message 21 of 23

Anonymous
Not applicable

Thank you so much for ur quick response it seriously helped me a lot

0 Likes
Message 22 of 23

dk-tradserv
Participant
Participant

Thank you for the Code,
Unfortunately the inserted attribute does not appear in the block editor.

 

Block Attribute

Block Editor

What could be the problem?

 

 

 

0 Likes
Message 23 of 23

_gile
Consultant
Consultant

@dk-tradserv  a écrit :

Thank you for the Code,
Unfortunately the inserted attribute does not appear in the block editor.

 

Block Attribute

Block Editor

What could be the problem?


As said in replies #6 and #8, the attribute is added to some block reference, not to the block definition (which is what you see in the block editor).



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes