What to do when you can't mass delete and item from the layout but need to

MSGSapper

Trainz route developer
kuid_439337_101362.jpg


SAP All Purpose Invisible Marker - Unfortunately there is no way currently to mass delete an item in surveyor which you no longer want on your layout. You can only mass replace using the “Replace Assets” function. This very small low poly (24 triangles) invisible marker can be used in conjunction with the “Replace Assets” function in Surveyor mode to mass replace something you no longer want on your layout but can't seem to get rid of because there are too many of them to just manually delete one at a time. This method will work with any content item shown in the Objects Tab (Object mode only) in Surveyor. This method will not work with splines.

http://www.auran.com/TRS2004/DLS_viewasset.php?AssetID=274769

I developed this item to resolve this issue until such time as N3V adds in the capability to simply mass delete an item. I hope you find this item useful. I have on my own layouts that I revise......
 
Unfortunately there is no way currently to mass delete an item in surveyor which you no longer want on your layout.

There is, you simply open the config.file of your route & delete the unwanted items kuid so that the route doesn't call it.
 
There is, you simply open the config.file of your route & delete the unwanted items kuid so that the route doesn't call it.

That old wives tale simply doesn't work. To prove it delete the entire content of the kuid table from the route. The whole thing. Load the route. If your way 'works' you should have nothing but grey grid. In fact you get the whole route, exactly as saved last time, because the route config kuid table has NOTHING to do with what does and doesn't appear on a route.

To mass delete an asset if it is not built-in simply delete it from CMP (save to cdp first if you want it again after) then load the route and Delete Missing Assets. Reinstall the asset if necessary. If the unwanted asset IS built in, use replace assets to swap the unwanted asset for something that isn't built-in, then do as above....
 
because the route config kuid table has NOTHING to do with what does and doesn't appear on a route

Strange that, because i had aroute that showed as "missing a dependancy", so I opened the route config, searched down the 'kuid-table', found
the kuid of the missing asset (I actually had the asset but it is faulty & unfixable), deleted said kuid reference & the route no longer complains about any missing dependencies.
So the route kuid table does have SOMETHING to do with what does and doesn't appear.
 
Good Morning Blackwatch
Removing the kuid from the kuid-table simply tells Content Manager not to look for that kuid. So it will remove the 'missing dependencies' indication. This is all the kuid-table does in most cases, tell Content Manager/Trainz what assets/kuids are required by the route (ok, some scripted assets also use it, but for routes this is irrelevant).

However, it does not remove the asset from the route itself. If you were to re-save that route, you would again see a missing dependency.

Dermmy's test shows this perfectly. If you were to remove all of the entries in the kuid-table, then load the map, all of the content will still show up. This is because Trainz itself uses the actual map files (not the kuid-table in the config.txt) to know what assets are shown on the map, and where they are shown. If you put the map, without the kuid-table entries, into a 'blank' installation of Trainz (one with no content installed at all - not actually possible, but an example), you would see no content on the map, but also no missing dependencies. Put it into an installation with the content, and it will show the content again.

We do NOT recommend removing kuids from the kuid-table to 'hide' the missing dependencies indication.

Regards
 
Back in the TRS2006 days when you loaded a route with missing or broken dependencies it'll display a message when you load the route/session all in black saying 'The map or session maybe damaged' then you could select skip to load the map, I always would delete the 'kuid-table' list so that annoying pop up would go away, but it never deleted the items in the route/session as mentioned above, but when you resave the route you'll have to delete the 'kuid-table' again to remove that annoying pop up.

Cheers.
 
Good Morning Blackwatch
Removing the kuid from the kuid-table simply tells Content Manager not to look for that kuid. So it will remove the 'missing dependencies' indication. This is all the kuid-table does in most cases, tell Content Manager/Trainz what assets/kuids are required by the route (ok, some scripted assets also use it, but for routes this is irrelevant).

However, it does not remove the asset from the route itself. If you were to re-save that route, you would again see a missing dependency.

Dermmy's test shows this perfectly. If you were to remove all of the entries in the kuid-table, then load the map, all of the content will still show up. This is because Trainz itself uses the actual map files (not the kuid-table in the config.txt) to know what assets are shown on the map, and where they are shown. If you put the map, without the kuid-table entries, into a 'blank' installation of Trainz (one with no content installed at all - not actually possible, but an example), you would see no content on the map, but also no missing dependencies. Put it into an installation with the content, and it will show the content again.

We do NOT recommend removing kuids from the kuid-table to 'hide' the missing dependencies indication.

Regards


Someone should 'sticky' this message to permanently kill the often-repeated misinformation about deleting things from map kuid-tables.
 
Back to MSGSapper's question:

What I have done in the past is to use the replace assets tool and replace the thing I can't delete with another asset while noting which one I just used. I then save the route and exit from Trainz.

I then start up Content Manager.

Find that replacement asset I wrote down.

Save the asset to a CDP for safe-keeping.

Delete it from the Trainz Content.

Close Content Manager, start Trainz, go into the route in Surveyor, and do the delete missing assets thing from the menu.

The asset is now removed from the route.

Later when I'm done, I then go back to Content Manager and reimport the deleted-replacement item.


John
 
Last edited:
Back
Top