Delete All Instances Of An Asset

Glenn52

New member
How can I delete all instances of an asset from a route, eg: a particular unwanted speed sign that appears numerous times.
I am looking for an auto process rather then searching the route for each instance and individually deleting each.
 
Depends if it's built in or downloaded. For downloaded assets, find the asset in content manager and delete it. Start Trainz, edit the route, click Menu, Delete missing assets.

If it's built in you can't delete it from content manager, so the workaround for that is to find a similar object that is not built in - download one if you need to. In surveyor, click Menu, Replace assets, then select the sign you want to get rid of and drag the text across to the replace window. Find the asset you want to replace it with, drag that across to the replace with window. Save, exit, back to content manager, delete the asset you just replaced the built in one with. Repeat as above, delete missing assets and they're all gone.
 
You could use the replace asset tool, use a speedboard of your choice or something invisible if you don't want speed signs.
 
This is where TrainzObjectz was so useful in TRS2004. It's a pity something similar is not available for the latest versions.

Ray
 
Open up Content Manager, then find the route you are building, and right click and go down to edit, hover over edit and then click 'Open in Content Creator Plus' it should open and then find, 'kuid table' after clicking the plus icons and going down.

You have to find the asset name or KUID manually, and once that is done, click the 'X' to the right of the asset

Ray, CCP can be compared to Trainzobjects in some ways, but Objects is probably better,

Jamie
 
You could use the replace asset tool, use a speedboard of your choice or something invisible if you don't want speed signs.

... except that you can leave the entry box for the replacement asset blank and that would remove all instances of the unwanted asset (or assets) from the route (but still leave it in the Trainz database) and replace it with nothing.
 
... except that you can leave the entry box for the replacement asset blank and that would remove all instances of the unwanted asset (or assets) from the route (but still leave it in the Trainz database) and replace it with nothing.

That works, Peter?

I tried many times to do that and it wouldn't budge for me. There are many assets I'd like to remove like clumps of grass or giant Queen Anne's Lace (They're about 12 feet across and way too large) from some routes I've downloaded.

The replace asset tool sits there dumb and does nothing.

John
 
It does work because I have used it on a number of occasions to remove an unwanted asset from a route without replacement. With assets such as clumps of grass it is likely that the route creator has used not just one clump but several different but similar looking clumps and removing one does not remove its siblings. In situations like that I place all the similar looking assets in the large window on the left.
 
It does work because I have used it on a number of occasions to remove an unwanted asset from a route without replacement.

I have to eat my own words here. I just tried it for an object asset using both current and global selection and it did not work. But I am positive that it has worked before - perhaps senility? lack of sobriety? are to blame.

Peter Ware
 
Resolved

Thanks all for the helpful responses.
@H222, this is a workable solution but not a practical one in my scenario. I have merged 5 substantial routes, and wanted to clear all speed signs, CCP doesn't provide an easy way to search and disable assets.
I have resolved my problem in a rather unorthodox way.
I backed up all my assets. In CM I viewed dependencies of my route. Quickly found these signs grouped together, I could not delete them so opened them for edit, and via Explorer I corrupted the *.im files for each sign. This prevented CM from committing them. In Surveyor the signs are gone, I delete missing assets and save the route. Back in CM I view dependencies and see they are missing. I restored my assets so the signs are available to other routes.

It got the job done...
 
I have to eat my own words here. I just tried it for an object asset using both current and global selection and it did not work. But I am positive that it has worked before - perhaps senility? lack of sobriety? are to blame.

Peter Ware

Peter,

No worries. It probably did work before.

Knowing how things get broken when revisions come out, this really useful feature is now broken.

It figures.

John
 
Back
Top