Hello everyone.
I want to make a DWG exporter for our company, that can remove all unused items in the DWG files after the export.
I use the DWGExportOptions(), and the doc.export() for the DWG export. I use the Purgeall() command to Cleanup the dwg filer.
My problem is the Prugeall() command does not remove the materials (Revit materials) in the dwg file, If I do the prugeall command manually in AutoCAD, all the materials are removed.
Best Regards
awpe
My code to clenup dwg files after the export:
Dear Aaron.
I have never tried to made add in for AutoCAD, do not know if the problem also exists outside the Revit.
Is it possible for you to test the function outside Revit?
Best Regards
awpe
Can't find what you're looking for? Ask the community or share your knowledge.