Vault General Discussion

Posts: 12
Registered: ‎02-22-2011
Message 1 of 5 (283 Views)

Search files with no parents

283 Views, 4 Replies
02-22-2011 02:01 AM

Does anyone know of a method for searching for files that do not have parents (in find).

During design process a lot of parts and mainly bolted connections are created in model, then deleted.

I have a feeling this could stretch to the thousands so would like to find all files that are not used in vault.

Active Member
Posts: 7
Registered: ‎06-07-2013
Message 2 of 5 (143 Views)

Re: Search files with no parents

10-14-2013 07:07 PM in reply to: andymeek1621

Did you ever find a solution for this?

Distinguished Contributor
Posts: 152
Registered: ‎10-21-2009
Message 3 of 5 (126 Views)

Re: Search files with no parents

11-16-2013 12:07 AM in reply to: andymeek1621

Lately I've been creating a large amount of piping with Inventor Tube & Pipe.


Sometimes I'll delete a pipe run then re-create it.

That leaves lots of bits of pipe that are in already in Vault and are no longer needed.

Pipe parts that now have no parents.

I need a way to search for all of them and remove them.


If I could find them all I would put them up for adoption or something :smileywink:.

In my Vault they are just taking up space, and I want them out.

If only I could find them all. There's got to be a way?

inventor :-)
Posts: 273
Registered: ‎03-16-2006
Message 4 of 5 (104 Views)

Re: Search files with no parents

11-18-2013 04:15 AM in reply to: FProcp

There is currently no method to locate all the orphaned parts in Vault.

Knowing if a part is currently being used or not, may not be as useful as you might think. You can not delete the part if is being used by a historical versions of an assembly. Unless you delete or purge the version of the assembly referencing the part you can not remove the part.


That being said, the information is there, and it would be possible to use the API to find this information.

However, it would not be a search scenario. For something to be done via a search it must first be indexed. This can only happen for information that is static relative to a given version. However, the parents of any given version is dynamic relative the version of the child. In other words; I can change what is referencing a part without needing to version the part.


So, it is not possible to have a search do this. But it might be possible to create a program that would crawl the Vault and find files that are not being used and then create a report. However, the report could have stale information by the time you see it, because any given part can gain or lose parents dynamically.


Mikel Martin
User Experience Architect
PLM / Data Management
Autodesk, Inc.
Distinguished Contributor
Posts: 152
Registered: ‎10-21-2009
Message 5 of 5 (93 Views)

Re: Search files with no parents

11-18-2013 05:41 AM in reply to: mikel.martin

I would like very much to be able to find them.


Then I could decide if I wanted to purge and delete or if I wanted to move them all to a different folder.


I must have hundreds of pipes in my Vault from deleted Tube & Pipe runs that are just wasting space.

inventor :-)

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

New button for Platinum & Gold Subscription customers
Gold & Platinum Subscription customers can alert Autodesk if they require assistance with their forum post

Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community