0

So basically I will be given a spreadsheet with AutoCAD drawing attributes and I need to find each attribute in the AutoCAD drawing and replace its value with the one from the spreadsheet.

Is there a way to find an Attribute with a specific tag name in an AutoCAD drawing without searching every single block? Also, I am writing this in C#.

arazzy
  • 495
  • 1
  • 8
  • 23
  • Did you get a chance to download and look at the project on github? – Trae Moore Sep 23 '13 at 18:30
  • If the spreadsheet also includes the Handle for the Attribute &/or the block that owns it then you can get it via that Handle. Otherwise, happy hunting. – CAD bloke Sep 30 '13 at 21:38

1 Answers1

0

No, you have to filter through each block and each block attribute tag to see if it has the tag you are looking for.

If you look at the project I have authored on github you will find it to be relatively simple. I created the classes specifically for issues of this sort.

http://xxzer0xx.github.io/RefCAD/

Is the link, try it out :)

Trae Moore
  • 1,759
  • 3
  • 17
  • 32