[Tip] Export block attribute tag names (&values)

Hi All, I was starting to setup a title block we received from a new client and it has a lot of attributes and I wanted to get a list of all the names so I made a script collect them all and wanted to pass it along incase it helps out someone else who comes searching.
Block Attribute-Export Tag Names to Excel v0.dyn (24.9 KB)

4 Likes

Actually, how about one better, let’s add in the current values of each attribute for the current dwg.
Block Attribute-Export Tag Names and Values to Excel v1.dyn (30.9 KB)

4 Likes

Hi Kirk, thank you for sharing this script.
I have developed something similar but final result is not what I want.
I would like to export real values from attributes, but script is exporting sample values for my attributes. For example in the title block I have attribute and sample value for this attribute is <ANN.NN> but the real value is <G33.01>. With node “Block.AttributeDefaultValueByTag” I am getting sample value results, not the real one. I have tried with your script and result is the same. Any idea?
Thank you in advance!

If I understand correctly, it sounds like you may be more interested in block references whereas the scripts above query the block definition instead.

1 Like

Silly me :woman_facepalming:… you were right. thank you!

1 Like