LarryEF
Mechanical
- Apr 4, 2007
- 19
Hi There,
I have several hundred drawings (paths and file names)listed in an Excel spreadsheet. I need a program to open each dwg, determine if specific layers and text styles are in that drawing, and if so, if they are being used. Then I need the results added to columns in the Excel spreadsheet beside the file name so I can total how many (and which) files include the layers / text styles and how many (and which) files use them.
I've seen a script file that goes through a list of drawing file names, opens each drawing, changes properties, saves, closes, and then opens the next drawing. However, I do not know where to find out how to use code to determine the existance of the layers and text styles, determine if they are used, and extract the data into Excel.
The books I've consulted indicate that this is possible, but they don't say how to do it.
Any help or direction would be appreciated.
Thanks,
Larry
I have several hundred drawings (paths and file names)listed in an Excel spreadsheet. I need a program to open each dwg, determine if specific layers and text styles are in that drawing, and if so, if they are being used. Then I need the results added to columns in the Excel spreadsheet beside the file name so I can total how many (and which) files include the layers / text styles and how many (and which) files use them.
I've seen a script file that goes through a list of drawing file names, opens each drawing, changes properties, saves, closes, and then opens the next drawing. However, I do not know where to find out how to use code to determine the existance of the layers and text styles, determine if they are used, and extract the data into Excel.
The books I've consulted indicate that this is possible, but they don't say how to do it.
Any help or direction would be appreciated.
Thanks,
Larry