Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Delete Imported Categories (DWG)

17 ANTWORTEN 17
GELÖST
Antworten
Nachricht 1 von 18
Anonymous
8135 Aufrufe, 17 Antworten

Delete Imported Categories (DWG)

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.

17 ANTWORTEN 17
Nachricht 2 von 18
vancikv
als Antwort auf: Anonymous

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.

Nachricht 3 von 18
constantin.stroescu
als Antwort auf: Anonymous

How I'll do it:

  • first, in an overall View as Site or a 3d - VGO > Imported Categories you'll be able to see if there are imported entities..this step is not necessary if you know you have imported CAD entities.

But in order to clean the CAD files I'll use Dynamo combined with Revit as follows:

  • in Dynamo > use Plissken Collection Package to Collect data and to find their ID:

Image 1.png

 

  • then in Revit > Manage>Inquiry>Select by ID - paste the ID Element value obtained from Dynamo (that with the green region)

Image 3.png

 

  • then right click and Delete ...you will see that his file will disappear from the Watch List (Dynamo) too
  • repeat the select by ID for every CAD instance and delete again ...

Constantin Stroescu

EESignature

Nachricht 4 von 18
constantin.stroescu
als Antwort auf: Anonymous

you can also do it entirely in Dynamo (more quickly) using ST.Tool.Eraser from Synthesize.Packages.SteamNodes.Tool , for instance.

Image 5.png

Constantin Stroescu

EESignature

Nachricht 5 von 18
pics.munmun
als Antwort auf: constantin.stroescu

i am facing the same issue. i m using revit 2020. and the package mentioned about is not available for this version. 

 

 

Nachricht 6 von 18
constantin.stroescu
als Antwort auf: pics.munmun

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:

https://forums.autodesk.com/t5/revit-architecture-forum/how-can-i-delete-an-empty-cad-family-type/td...

Constantin Stroescu

EESignature

Nachricht 7 von 18
pics.munmun
als Antwort auf: constantin.stroescu

where will i get CollectCADimport?

 

Nachricht 8 von 18
constantin.stroescu
als Antwort auf: pics.munmun

Image 1.png

 

 

Image 2.png

Constantin Stroescu

EESignature

Nachricht 9 von 18

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.

Nachricht 10 von 18
EbbieAzimi
als Antwort auf: constantin.stroescu

BimorphNodes: Did not recognize ACAD in Drafting views and gave no results

Nachricht 11 von 18
IMCornish
als Antwort auf: constantin.stroescu

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?

Andrew Robertson
Chartered Architect
Robertson Partnership
Truro. UK
Nachricht 12 von 18
IMCornish
als Antwort auf: constantin.stroescu

Where does "CollectCADImports" come from because I cannot find it?

Andrew Robertson
Chartered Architect
Robertson Partnership
Truro. UK
Nachricht 13 von 18
constantin.stroescu
als Antwort auf: IMCornish

you can Delete CAD imports directly from Dynamo...

if you work in  Revit 2023 ,then:

InkedREVIT2023_LI.jpg

if you work in a previous version:

InkedDELETE CAD_LI.jpg

Constantin Stroescu

EESignature

Nachricht 14 von 18
costelos
als Antwort auf: IMCornish

 

 

Nachricht 15 von 18
constantin.stroescu
als Antwort auf: IMCornish

...or, if you want to select only one or several imported items to delete , then use this:

DELETE CAD IMPORT.png

Constantin Stroescu

EESignature

Nachricht 16 von 18

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?

Nachricht 17 von 18
ChisB
als Antwort auf: SGA-jared.singer

I am looking to do the same. I do not have any imports in my template file, yet it is full of "import categories" in VG. Has anyone been able to delete the import categories?
Nachricht 18 von 18
EbbieAzimi
als Antwort auf: Anonymous

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.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report