Solved: How can I get the area and sample image for 7000 cad files?

Answered

I’m an IT guy working with a large number of cad files and I’m try to extract some information about our parts from them. I’ve parsed the folders that one of my companies use to store all their cad files. This has given me part paths, names, boms, etc. The only other data I need for my project are thumbnails and the total area for each part.

Windows generates a nice preview image for each part when we look through the folders, and that is what I want. As far as I can tell, though, it’s not being saved in the thumbs cache. How can I script getting a thumbail/preview image from autocad?

I also would like to get the area for all the parts, if there is a way to script that?

Asked on December 27, 2016 in AutoCAD.
Add Comment
1 Answer(s)
Best answer

Autocad drawing files store a thumbnail inside itself. It is called a slide, and can generally be accessed with AutoLISP or vba from within Autocad. I have not had to do this in some time, but if you have Autocad available to you, you can read through the help documentation on accessing the slide.

Answered on February 2, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.