Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I delete an empty CAD family type?

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
Anonymous
1901 Views, 12 Replies

How can I delete an empty CAD family type?

I imported a CAD file and later deleted but it still on VG imported category section. Also, the viewport behaves like the CAD is still there. I can't find any DWG on any view nor in the purged unused dialog window. I have tried two different Add-ins solutions. The Purger Add-in couldn't find any DWGs and the CAD File Explorer Add-in was able to find only the CAD type but couldn't delete it. 

 

The way I understand the situation is that when you import a CAD file, Revit creates a family type associated to it. I have deleted the instances but, for some reason, the family type is still there and Revit don't allow its deletion.

 

How can I delete an empty CAD family type?

 

Thanks!

Labels (3)
12 REPLIES 12
Message 2 of 13
RDAOU
in reply to: Anonymous

@Anonymous 

 

Select it using its element ID shown in the last image (unpin if necessary) and delete it ... Then Purge Unused

 

Manage > Inquiry > Select using Element ID

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Message 3 of 13
syman2000
in reply to: Anonymous

I notice if one of the CAD layers are turned off in certain view, Revit will treat that as part of the change and won't let you delete the CAD. So you may want to check with view template to see if that CAD link have certain layer turn ON/OFF.

Check out my Revit youtube channel - https://www.youtube.com/user/scourdx
Message 4 of 13
Anonymous
in reply to: RDAOU

I was able to select using the element ID but couldn't do anything else. Couldn't delete it.

I found the solution! I'll post down below.

Thanks for your help!
Message 5 of 13
Anonymous
in reply to: syman2000

I went through every single view and view template turning ON all the CAD layers but had no success.

I found the solution! I'll post it down below!

Thanks for the help!
Message 6 of 13
Anonymous
in reply to: Anonymous

I found the solution!

 

Apparently, Revit won't let you delete a CAD type in your project if it's the last one. If you have any other CAD type loaded or imported, Revit will allow you to delete the one you want.

 

The solution was to bring another CAD file as a link, run CAD File Explorer and delete the CAD type I wanted, then remove the CAD link. 

 

I hope this can help others not to go through this headache!

 

 

Message 7 of 13
constantin.stroescu
in reply to: Anonymous

you ca do it easily by using Dynamo:

Bimorph Nodes package ( to identify the CAD files either linked or imported)+Archilab package ( to delete the file)

Image 2.png

Constantin Stroescu

EESignature

Message 8 of 13
RDAOU
in reply to: Anonymous


@Anonymous wrote:

I found the solution!

 

Apparently, Revit won't let you delete a CAD type in your project if it's the last one. If you have any other CAD type loaded or imported, Revit will allow you to delete the one you want.

 

The solution was to bring another CAD file as a link, run CAD File Explorer and delete the CAD type I wanted, then remove the CAD link. 

 

I hope this can help others not to go through this headache!

 

 


That doesn't make sense...One can understand that Revit will not purge the imported categories if they are used in some views but cannot delete a dwg because it is the last instance?!

 

As far as I remember Revit had no restrictions on deleting last instance of an imported DWG file! someone should correct me if I am wrong

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Message 9 of 13
Anonymous
in reply to: RDAOU

I agree with you, it does not make sense. I came to this solution when I was trying to find an older version of the file with an actual CAD instance, not just the type. On one of those project files I decided to run CAD File Explorer and delete the empty CAD type. To my surprise it worked! I noticed that I had other CAD imports on this file and I remembered something from the error dialog box pop-up when I tried to delete the first time. Check the print screen below and you'll understand.

I don't know if this is a Revit issue or a CAD File Explorer limitation.

Message 10 of 13
Anonymous
in reply to: constantin.stroescu

Cool! I have no experience with Dynamo but I will certainly try!

Thanks!
Message 11 of 13
RDAOU
in reply to: Anonymous

@Anonymous 

 

I am not sure what this CAD File explorer is but that prompt you have is not Revit's  and it is definitely a plugin glitch. Revit has no such restriction (It has restriction on system families where you cannot delete the last instance in the browser but not imported CAD)

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Message 12 of 13
tgoodwinX2SUJ
in reply to: Anonymous

This was, incredibly, the issue for me as well. Thanks.

 

Message 13 of 13

CAD.ReportInstances is no longer available, any suggestions. I'm reallllly new to Dynamo.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report