I have many left over DWG imported categories in my template and they do not appear in purge unused.
I would appreciate some help to delete them.
Thanks in advance.
Solved! Go to Solution.
Solved by constantin.stroescu. Go to Solution.
Solved by constantin.stroescu. Go to Solution.
It's hard to get rid of those. If you import a DWG they show up and if you then delete it they disappear by themselves. However, once you explode the DWG for example, they don't disappear even after you delete all of the exploded elements. The only thing you can purge via Purge Unused are the dummy Materials "Render Material xxx-xxx-xxx". I think the only thing you can do is remove all the imported instances you can find and hope for the best. If your template is relatively old though, I wouldn't be very hopeful and wouldn't waste too much time on this.
There are some 3rd party tools for cleaning Revit projects, that work directly with the database. I have never used one, but once we had a specialized company fix a broken project and they used something like that.
How I'll do it:
But in order to clean the CAD files I'll use Dynamo combined with Revit as follows:
Constantin Stroescu
you can also do it entirely in Dynamo (more quickly) using ST.Tool.Eraser from Synthesize.Packages.SteamNodes.Tool , for instance.
Constantin Stroescu
i am facing the same issue. i m using revit 2020. and the package mentioned about is not available for this version.
You can also use Bimorph Nodes Package to select the import/linked .dwg and Archilab Package to delete the file(s)
have a look at this post:
Constantin Stroescu
I don't think this is what the OP is asking for. This just selects and deletes imported CAD files. The problem arises when you import a CAD file, exploded it, then delete those elements. What remains is CAD import categories.
BimorphNodes: Did not recognize ACAD in Drafting views and gave no results
If I could actually understand Dynamo then this might be easy but just reading the Dynamo User Guide is completelly impossible since it uses descriptioms that I, as an Archiect of many years, have no idea what they mean. Surelly there must be an easier way of getting rid of unwanted "Imported Category" items?
Where does "CollectCADImports" come from because I cannot find it?
you can Delete CAD imports directly from Dynamo...
if you work in Revit 2023 ,then:
if you work in a previous version:
Constantin Stroescu
...or, if you want to select only one or several imported items to delete , then use this:
Constantin Stroescu
This is great for deleting imported CAD files in R2023, but is there a way to delete the "leftover" Visibility Graphics for the .dwg's on the "Imported Categories" tab?
Used the Gerneral guideline provided in this thread to create the Dynamo script ... took a few tries but it worked.
The challenge is that the dynamo routines got outdated and to do the same now, we have to update our nodes for the latest version.
Can't find what you're looking for? Ask the community or share your knowledge.