- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi folks,
I have a list of .dwg files. I would like to remove the AutoCad .dwgs & keep the Inventor .dwg.
How can I make the difference between the two programmatically ?
Kind regards,
FINET L.
If this post solved your question, please kindly mark it as "Solution"
If this post helped out in any way to solve your question, please drop a "Like"Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Interesting issue. Have you already checked tried opening each of them in Inventor, then using the DrawingDocument.IsInventorDWG property? I have never tested it myself before, because we use IDW for all our drawings, so the only DWG's we have are from AutoCAD.
Wesley Crihfield
(Not an Autodesk Employee)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Another one to test might be the ThisApplication.FileManager.IsInventorDWG() method, which will actually take a String type input, instead of having to open, then use a DrawingDocument object.
Wesley Crihfield
(Not an Autodesk Employee)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear @WCrihfield,
Kind regards,
FINET L.
If this post solved your question, please kindly mark it as "Solution"
If this post helped out in any way to solve your question, please drop a "Like"