简体   繁体   中英

Finding specific attributes in AutoCAD drawing

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

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 :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM