How to Use Bulk Asset Update/Replace Tool: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Pware (talk | contribs)
Pware (talk | contribs)
mNo edit summary
 
(184 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table width=996 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td width=35>[[image:Information.png|35px|link=]]</td>
<td><span style="font-size: 15px;">The information in this Wiki Page applies to the '''Bulk Asset Update/Replace Tool''' using the '''Surveyor Classic''' interface in '''T:ANE''', '''TRS19''', '''TRS22''' and '''Trainz Plus'''.</span><br>
<span style="font-size: 15px;">For the '''Bulk Replace Asset Tool''' using the '''Surveyor 2.0''' interface in '''Trainz Plus''' refer to the Wiki Page at [[image:WikiLink.PNG|link=]]&#160;'''[[How_to_Use_S20_Palettes#Bulk_Replace_Asset_Tool_.28Trainz_Plus_Only.29|How to Use S20 Palettes - Bulk Replace Asset Tool]].'''</span></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
__TOC__
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729><span id="stepWhat"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>&nbsp;</td>
<td width=75>[[image:NextDown.png|link=#stepSelecting|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''What is the Bulk Asset Update/Replace Tool?'''=
='''What is the Bulk Asset Update/Replace Tool?'''=


<table width=1000 bgcolor="lightcyan" cellpadding=2>
<tr valign="top">
<td width=10>[[image:BlueDot10x10.png|link=]]</td>
<td>The '''Bulk Asset Update/Replace Tool''' allows the replacement, deletion and modification of multiple instances of one or more different assets, including textures</td>
</tr>
</table>
<br>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table cellpadding=2 bgcolor=#ffffb0>
<tr valign="top">
<td>[[image:NotePad.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Notes:'''</span><br>
----
The tool automates the tedious process of deleting and replacing objects one at a time, as well as other tasks.
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''The ''Bulk Asset Update/Replace Tool'' allows the replacement, deletion and modification of multiple instances of one or more different assets, including textures, throughout an entire layout, a single baseboard or a selected area.'''</td>
<td>It allow the mass:-
<table>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td>deletion of scenery objects</td>
</tr>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td>replacement of one or more scenery objects by another object</td>
</tr>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td>random rotation of scenery objects</td>
</tr>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td>movement of scenery objects from one layer to another</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>These processes can be performed over the '''entire layout''', a '''single baseboard''' or in a '''selected area''' only</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Deletion and movement between layers can be performed on a set percentage of the selected or replacement scenery objects</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>The replacement operation can be performed on textures</td>
</tr>
</tr>
</table>
</table>
----
</td>
You will find the tool in the '''Surveyor''' Main Menu.
</tr>
</table>
</td>
</tr>
</table>
<br>


The tool automates the tedious process of deleting and replacing objects one at a time, as well as other tasks. It allow the mass simultaneous:-
='''Things it Will NOT Do'''=
*deletion of objects
*replacement of one or more objects by another object
*random rotation of objects
*movement of objects from one layer to another


These processes can be performed over the entire layout, a single baseboard or in a selected area only.  
<table bgcolor=#ff0000>
<tr valign="top">
<td>
<table bgcolor=#fcbcbc>
<tr valign="top">
<td>[[image:Stop.PNG|link=]]</td>
<td>'''The ''Bulk Asset Update/Replace Tool'' <span style="text-decoration: underline;">CANNOT</span> be used on''':-<table>
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''spline objects''' (tracks are '''not''' counted as splines so you can use the tool on tracks)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>objects that are in a '''locked layer''' (easily fixed by unlocking the layer)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''bridge splines'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''tunnel splines'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''multiple (parallel) track splines'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''consists/trains'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>objects of '''mixed types''' e.g. replacing buildings with track</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>


Most of them can also be performed on a randomly selected percentage, from 5% to 95%, of the designated objects.
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729><span id="stepSelecting"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepWhat|alt=Next Up|Next Up]]</td>
<td width=75>[[image:NextDown.png|link=#stepDeleting|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Selecting Assets and Options'''=


The replacement operation can be performed on textures.
<table width=1000>
<tr valign="top">
<td>The tool is located in:-
<table>
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the '''Surveyor Main Menu''' in '''TANE''' (below left).</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the '''Surveyor Tools Menu''' in '''TRS19''' and '''TRS22''' (below right).</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>the '''Surveyor Tools Menu''' in '''Trainz Plus''' and '''TRS22PE''' when using '''Surveyor Classic''' (below right).</td>
</tr>
</table>
<br>
[[image:UpdateStartTANE.png|link=]]&nbsp;&nbsp;&nbsp;[[image:UpdateStartTRS19SP1.png|link=]]</td>
</tr>
</table>
<br>
<table width=1000>
<tr valign="top">
<td>[[image:BulkAssetWindowReplacementTools.JPG|link=]]</td>
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<td width=25>[[image:NotePad.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Notes:'''</span><br>
----
</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>The large data box on the left of the tool window, the '''Assets to update''' list, is used to store the names of the objects that are going to be updated or replaced</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>The smaller entry box on its right. the '''Asset to replace with''' list, is to store a '''single''' object that will replace the object or objects in the '''Assets to update''' list</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000 cellpadding=2 bgcolor=#ffffff> <!-- BEGIN Step table -->
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Select Assets to Be Updated/Replaced:-</span></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 17px;">Select the Assets to Update</span><br>
There are two alternate methods of filling the '''Assets to update''' list</td>
</tr>
<tr valign="top">
<td>&#160;</td>
<td>
<table width=400 bgcolor=#0000ff cellpadding=2> <!-- BEGIN Step 1 Alternative 1 inner table -->
<tr valign="top">
<td>
<table width=396 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td width=25>[[image:Ablue.png|link=]]</td>
<td>
<table cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: Use the Get Tool:-</span></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1Blue.png|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the '''Get Tool''' (shown below), then</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2Blue.png|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the object in the Surveyor screen</td>
</tr>
<tr valign="top">
<td colspan=2>[[image:BulkAssetAddGetTool.JPG|link=]]<br>
The object will be added to the list, as shown in the example above.</td>
</tr>
</table>
</td>
</tr>
</table> <!-- END Step 1 Alternative 1 inner table -->
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td>&#160;</td>
<td><span style="font-weight: 700; font-size: 15px;"> OR </span></td>
</tr>
<tr valign="top">
<td>&#160;</td>
<td>
<table width=400 bgcolor=#0000ff cellpadding=2> <!-- BEGIN Step 1 Alternative 1 inner table -->
<tr valign="top">
<td>
<table width=396 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td width=25>[[image:Bblue.png|link=]]</td>
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: Use Drag-and-Drop:-</span></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1Blue.png|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click and Drag</span> an object from the '''Object Tool Selection Window''' as shown below</td>
</tr>
<tr valign="top">
<td colspan=2>[[image:BulkAssetAddDrag.JPG|link=]]</td>
</tr>
</table>
</td>
</tr>
</table> <!-- END Step 1 Alternative 2 inner table -->
</td>
</tr>
</table> <!-- END Step 1 Alternatives outer table -->
</td>
</tr>
<tr valign="top">
<td>&#160;</td>
<td>This can be repeated for multiple objects, using '''either''' or '''both''' methods, to build the list of '''Assets to update'''.</td>
</tr>
</table> <!-- END Step 1 Alternative 1 inner table -->
<br>
<table width=1000>
<tr valign="top">
<td width=25>[[image:DotPoint2.JPG|link=]]</td>
<td><span style="font-size: 17px; font-weight: 700;">(Optional) Set Control Options:</span><br>
Once the '''Assets to update''' list has been completed, the <span style="font-weight: 700; text-decoration: underline;">optional</span> '''Rotate''', '''Move to layer''' and '''Delete''' options can be used and the '''Scope''' can be set.<br>


See the sections [[image:PageLink.PNG|link=]] '''[[#Setting the Options - for Non Texture Objects|Setting the Options - for Non Texture Objects]]''', [[image:PageLink.PNG|link=]] '''[[#Setting the Options - for Texture Objects|Setting the Options - for Texture Objects]]''' and [[image:PageLink.PNG|link=]] '''[[#Setting the Scope|Setting the Scope]]''' below for more details.</td>
</tr>
</table> <!-- END Step 2 table -->
<table width=1000>
<tr valign="top">
<td width=25>[[image:DotPoint3.JPG|link=]]</td>
<td><span style="font-size: 17px; font-weight: 700;">(Optional) Add a Replacement Asset:</span><br>
The same method of '''Drag and Drop''' is used to add an object to the '''Asset to replace with''' list.
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<td width=25>[[image:NotePad.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Notes:'''</span><br>
----
----
</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Only a '''single object''' can be added to the '''Asset to replace with''' list. If a second object is dragged into the list it will delete and replace the first object</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>When objects are being replaced they must be replaced by objects of the '''same general type''' - both lists must contain:-
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>[[image:RedDot10x10.png|link=]]</td>
<td>'''When objects are being replaced they must be replaced by objects of the same general type''' - both must be spline objects, or both must be non-spline objects, or both must be textures, or both must be track objects, etc</td>
<td>non-spline scenery objects, or</td>
</tr>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td>track (single track only and no bridges or tunnels), or</td>
</tr>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td>track objects of the same type (e.g. signals), or</td>
</tr>
<tr valign="top">
<td>[[image:RedDot10x10.png|link=]]</td>
<td>textures</td>
</tr>
</tr>
</table>
</table>
----
</td>
 
</tr>
</table>
</td>
</tr>
</table>
[[image:BulkAssetAddDragReplace.JPG|link=]]<br>
If you attempt to replace ''one type'' of object with a ''different type'' you will receive an error message.
If you attempt to replace ''one type'' of object with a ''different type'' you will receive an error message.
<table>
<table> <!-- BEGIN Step 3 Error Message Table -->
<tr valign="top">
<td>[[image:BulkAssetReplaceTypeError.JPG|link=]]</td>
<td><br>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Options:</span> Choose one of:-</td>
</tr>
<tr valign="top">
<td width=25>[[image:Ablue.png|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;No&#160;</span> to cancel the update, <span style="font-weight: 700; font-size: 15px;">OR</span></td>
</tr>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetReplaceTypeError.JPG]]</td>
<td>[[image:Bblue.png|link=]]</td>
<td>This will indicate that at least one of the objects in the two lists is not of the same type as the other objects.</td>
<td> <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on <span style="font-weight: 700; font-size: 15px; color: white; background-color: black;">&#160;Yes&#160;</span> to proceed with the update but the mismatched objects will not be replaced</td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</table>
</td>
</tr>
</table> <!-- END Step 3 Error Message Table -->
</td>
</tr>
</table> <!-- END Step 3 table -->


==Things it Will Not Do==
<table width=1000>
<tr valign="top">
<td width=25>[[image:DotPoint4.JPG|link=]]</td>
<td><span style="font-size: 17px; font-weight: 700;">Perform the Update:</span>
<table> <!-- BEGIN Step 4 table -->
<tr valign="top">
<td>Once all required options and values have been entered, <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the <span style="color: white; background-color: black; font-weight: 700; font-size: 15px;">&nbsp;BEGIN&nbsp;</span> button to complete the process.</td>
</tr>
</table> <!-- END Step 4 table -->
</td>
</tr>
</table> <!-- END Steps Table -->


The '''Bulk Asset Update/Replace Tool''' cannot be used on:-
<table> <!-- BEGIN Nav Buttons Table -->
*bridge spline objects
<tr valign="top">
*tunnel spline objects
<td width=729><span id="stepDeleting"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepSelecting|alt=Next Up|Next Up]]</td>
<td width=75>[[image:NextDown.png|link=#stepScope|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->


='''Selecting the Assets'''=
='''Deleting Assets from the Lists'''=


<table width=1000>
<tr valign="top">
<td>[[image:BulkAssetDeleteDragOut.JPG|link=]]</td>
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Options:</span> To remove items from the list choose one of:-</td>
</tr>
<tr valign="top">
<td width=25>[[image:Ablue.png|link=]]</td>
<td>Use the '''Drag and Drop''' method to remove individual objects from the lists. <span style="font-weight: 700; font-size: 15px;">OR</span></td>
</tr>
<tr valign="top">
<td>[[image:Bblue.png|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the [[image:Cross.PNG|link=]] icon to remove all the objects</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729><span id="stepScope"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepDeleting|alt=Next Up|Next Up]]</td>
<td width=75>[[image:NextDown.png|link=#stepNonTexture|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Setting the Scope'''=
Select the region of the layout where the updates, replacements or deletions will occur:-
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetWindowReplacementTools.JPG]]</td>
<td>[[image:BulkAssetReplaceLocation.JPG|link=]]</td>
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<td>
*The large data box on the left of the tool window, the '''Assets to Update''' list, is used to store the names/kuids of the objects that are going to be replaced
<table bgcolor=#ffffff cellpadding=2>
*The smaller entry box on its right. the '''Replace with''' list, is to store a '''single''' object that will replace the object or objects in the '''Assets to Update''' list
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Options:</span> Choose one of:-</td>
</tr>
<tr valign="top">
<td width=25>[[image:Ablue.png|link=]]</td>
<td>'''Anywhere on the route''' - the entire layout</td>
</tr>
<tr valign="top">
<td>[[image:Bblue.png|link=]]</td>
<td>'''In current section only''' - the current baseboard</td>
</tr>
<tr valign="top">
<td>[[image:Cblue.png|link=]]</td>
<td>'''In selected area''' - a defined area (see below)</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<br>
The quickest way of adding objects to the '''Assets to Update''' list is to:-
If the '''Selected area''' option is chosen, then...
*click on the '''Get Tool''' (shown below), then
*click on the object in the Surveyor screen.
[[file:BulkAssetAddGetTool.JPG]]<br>
The object will be added to the list, as shown in the example above.


This can be repeated for each object to be replaced.
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Define a Selected Area:-</span><br>
[[image:BulkAssetReplaceLocationArea.JPG|link=]]<br></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the '''Red icon''', and</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click and Drag</span> out the area to be used</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</td>
</tr>
</tr>
</table>
</table>
<br>
<br>
An alternative method is to ''Drag and Drop'' an object from the '''Object Tool Selection Window''' as shown below.
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729><span id="stepNonTexture"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepScope|alt=Next Up|Next Up]]</td>
<td width=75>[[image:NextDown.png|link=#stepTexture|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Setting the Options - for Non Texture Objects'''=


==Option 1: Randomly Rotate Scenery Objects==
The first option controls the rotation or orientation of the original OR the replacement scenery objects.
<table cellpadding=2 bgcolor=#eeeeee>
<tr>
<td colspan="2">
----</td>
</tr>
<tr valign="top">
<td>[[image:Gears.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Settings:'''</span>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetAddDrag.JPG]]</td>
<td>[[image:BlackDot10x10.png|link=]]</td>
<td></td>
<td>If no '''Replace with''' object is entered then the objects in the '''Assets to update''' list will be '''randomly rotated''' to new orientations</td>
</tr>
<tr valign="top">
<td>[[image:BlackDot10x10.png|link=]]</td>
<td>If a '''Replace with''' object is entered then the replacement objects in the '''Replace with''' list will be '''randomly rotated''' to new orientations</td>
</tr>
<tr valign="top">
<td colspan=2>All the layers containing the objects must be unlocked. Objects in locked layers will not be rotated</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
</tr>
</table>
</table>
<br>
<br>
The same method of ''Drag and Drop'' is used to add an object to the '''Replace with''' list.
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table width=996 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Randomly Rotate Scenery Objects:-</span></td>
</tr>
<tr valign="top">
<td colspan=2>[[image:BulkAssetRandomRotate.JPG|link=]]</td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td>a '''Ticked''' [[image:CheckBox.PNG|link=]] checkbox will randomly rotate each replacement (or original) scenery object when it is placed<br>
an '''Unticked''' [[image:CheckBoxOff.PNG|link=]] checkbox will keep the original orientation of each scenery object as it is replaced (this will have no effect if there is no '''Replace with''' object)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td><span style="font-weight: 700;"><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the <span style="color: white; background-color: black; font-size: 15px;">&nbsp;BEGIN&nbsp;</span> button to complete the process</span></td>
</tr></table>
</td>
</tr>
</table>
<br>
 
==Option 2: Move Scenery Objects to Another Layer==
 
The second option allows the original OR replacement scenery objects to be moved to another layer.
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<td>[[image:NotePad.PNG|link=]]</td>
<td>'''Splines''' are not classified as '''scenery objects''' and cannot be moved to another layer by using the '''Bulk Asset Update/Replace Tool'''</td>
</tr>
<tr valign="top">
<td colspan=2>
<table bgcolor=#ffffe0>
<tr valign="top">
<td>[[image:PencilTips.PNG|link=]]</td>
<td>To move a spline to another layer set the '''layer property''' in the spline property window to the new layer. You will have to do this on every spline segment.
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000 cellpadding=2 bgcolor=#eeeeee>
<tr>
<td colspan="2">
----</td>
</tr>
<tr valign="top">
<td>[[image:Gears.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Settings:'''</span>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetAddDragReplace.JPG]]</td>
<td>[[image:BlackDot10x10.png|link=]]</td>
<td>If no '''Replace with''' object is entered then the '''selected percentage''' of the objects in the '''Assets to update''' list will be '''moved''' to the selected layer</td>
</tr>
<tr valign="top">
<td>[[image:BlackDot10x10.png|link=]]</td>
<td>If a '''Replace with''' object is entered then the '''selected percentage''' of the replacement objects in the '''Replace with''' list will be '''moved''' to the selected layer</td>
</tr>
<tr valign="top">
<td>[[image:BlackDot10x10.png|link=]]</td>
<td>All the layers containing the objects must be unlocked. Objects in locked layers will not be moved</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
</table>
 
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<td>
----
<table width=996 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td><span style="font-weight: 700; font-size: 15px;">Steps: To Move Objects to Another Layer:-</span><br>
[[image:BulkAssetMoveLayer.JPG|link=]]
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td>'''Only a single object can be added to the ''Replace with'' list.''' If a second object is dragged into the list it will delete and replace the first object.</td>
<td>'''Tick''' [[image:CheckBox.PNG|link=]] the check box to randomly move a set % of the replacement (or original) scenery objects to another layer, <span style="font-weight: 700; font-size: 15px;">OR</span><br>
'''Untick''' [[image:CheckBoxOff.PNG|link=]] the check box to keep all the replacement scenery objects in the same layer as the original scenery objects. This has no effect if there are no objects in the '''Replace with''' list</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td>'''Select a percentage figure''' from '''0%''' (none) to '''100%''' (all)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint3.JPG|link=]]</td>
<td>'''Select the layer''' for the objects to move to (the layer must be unlocked)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint4.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the <span style="font-weight: 700; color: white; background-color: black; font-size: 15px;">&nbsp;BEGIN&nbsp;</span> button to complete the process</td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</table>
----
</td>
</td>
</tr>
</tr>
</table>
</table>
 
<br>
='''Setting the Scope'''=
<table width=1000              bgcolor=#ff0000>
 
<tr valign="top">
='''Setting the Options - for Non Texture Objects'''=
<td>
 
<table bgcolor=#fcbcbc>
==Option 1: Random Rotation==
<tr valign="top">
 
<td>[[image:Stop.PNG|link=]]</td>
The first option controls the rotation or orientation of the replacement objects.
<td><span style="font-size: 15px; font-weight: 700;">CAUTION:</span>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetRandomRotate.JPG]]</td>
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>When moving track or track objects (signals, switches, etc) to other layers always make sure that '''no track objects''' end up in a layer that is '''above the layer containing the track''' they are attached to</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Moving objects between the '''Route Layer Group''' and the '''Session Layer Group''' will change where they are saved - in the route or the session </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<td>
*Tick the check box to randomly rotate each replacement object as it is placed in the layout
<table bgcolor=#ffffb0 cellpadding=2>
*Untick the check box to keep the original orientation of each object as it is replaced
<tr valign="top">
<td width=25>[[image:NotePad.PNG|link=]]</td>
<td>'''Option 1''' and '''Option 2''' CAN both be checked ON at the same time '''to produce a combined effect'''</td>
</tr>
</table>
</td>
</td>
</tr>
</tr>
</table>
</table>
<br>


==Option 2: Move to Another Layer==
==Option 3: Delete Scenery Objects==


The second option allows the replacement objects to be moved to another layer when they are placed in the layout.
The third option allows the deletion of scenery objects from the layout.
<table width=1000 cellpadding=2 bgcolor=#eeeeee>
<tr>
<td colspan="2">
----</td>
</tr>
<tr valign="top">
<td>[[image:Gears.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Settings:'''</span>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetMoveLayer.JPG]]</td>
<td width=10>[[image:BlackDot10x10.png|link=]]</td>
<td>Select a percent figure from '''0%''' to '''100%''' in steps of '''5%'''. Values other than '''0%''' and '''100%''' will be approximate, not exact. Selecting '''0%''' will delete none of the objects, '''100%''' will delete them all</td>
</tr>
<tr valign="top">
<td>[[image:BlackDot10x10.png|link=]]</td>
<td>All the layers containing the objects must be unlocked. Objects in locked layers will not be deleted</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2">
----</td>
</tr>
</table>
 
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table width=996 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Delete Scenery Objects:-</span><br>
[[image:BulkAssetDelete.JPG|link=]]</td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td>'''Tick''' [[image:CheckBox.PNG|link=]] the check box to randomly delete a set % of the objects</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td>'''Select a percentage figure''' from 0% (none) to 100% (all)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint3.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the <span style="font-weight: 700; color: white; background-color: black; font-size: 15px;">&nbsp;BEGIN&nbsp;</span> button to complete the process</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<td>
*Tick the check box to randomly move a % of replacement objects to another layer
<table width=996 bgcolor=#ffffb0 cellpadding=2>
**You must select a percent figure from 5% to 100% in steps of 5%. Values other than 0% and 100% will be approximate, not exact
<tr valign="top">
**You must select the layer to move the objects to
<td width=25>[[image:NotePad.PNG|link=]]</td>
*Untick the check box to keep all the replacement objects in the same layer as the original objects
<td><span style="font-size: 17px;">'''Notes:'''</span><br>
----
</td>
</td>
</tr>
<tr valign="top">
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''Option 2''' and '''Option 3''' '''CANNOT both''' be checked '''ON''' at the same time</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''Option 1''' and '''Option 3''' '''CAN both''' be checked '''ON''' at the same time to rotate all the scenery objects before deleting a set percentage of them.</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000 bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffe0 cellpadding=2>
<tr valign="top">
<td>[[image:PencilTips.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Deleting "Stubborn" Objects:'''</span><br>
Some objects simply will not delete, for example some non track splines. The workaround for deleting these objects from a layout is:-<br>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Delete "Stubborn" Objects:-</span></td>
</tr>
<tr valign="top">
<td colspan=2>
<table cellpadding=2 bgcolor=#fcbcbc>
<tr valign="middle">
<td>[[image:Stop.PNG|link=]] <span style="font-weight: 700; font-size: 15px;">Warning:</span></td>
<td>This method is an '''All or Nothing''' approach. '''ALL''' instances of the selected asset will be deleted from your layout</td>
</tr>
</tr>
</table>
</table>
</td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td>exit Surveyor and start '''Content Manager'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td>locate and select (highlight) the stubborn asset</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint3.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the '''Content''' menu and select '''Disable''' or '''Hide''' (depending on your version of '''Trainz''').
This will not delete the object from your layout or from your Trainz installation</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint4.JPG|link=]]</td>
<td>start Surveyor and reload the route. It will now have a missing dependency</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint5.JPG|link=]]</td>
<td>from the '''Main Menu''' (in '''T:ANE''') or the '''Tools Menu''' in ('''TRS19/Trains Plus/TRS22''') select the '''Delete Missing Assets''' option</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint6.JPG|link=]]</td>
<td>save the route and exit Surveyor</td>
</tr>
<tr valign="top">
<td colspan=2>The disabled asset will no longer be present in your layout. It should now be restored for other uses</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint7.JPG|link=]]</td>
<td>start '''Content Manager'''</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint8.JPG|link=]]</td>
<td>locate and select (highlight) the now disabled asset</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint9.JPG|link=]]</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the '''Content''' menu and select '''Enable'''</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729><span id="stepTexture"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepNonTexture|alt=Next Up|Next Up]]</td>
<td width=75>[[image:NextDown.png|link=#stepSamples|alt=Next Down|Next Down]]</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->
='''Setting the Options - for Texture Objects'''=


The objects do not all have to start in the same layer.
<table bgcolor=#000000 cellpadding=2>
 
<tr valign="top">
<td>
<table bgcolor=#ffffb0 cellpadding=2>
<tr valign="top">
<td>[[image:NotePad.PNG|link=]]</td>
<td><span style="font-size: 17px;">'''Notes:'''</span><br>
----
----
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td width=10>[[image:DotPoint.JPG|10px|link=]]</td>
<td>'''Option 1 and Option 2 can both be checked ON at the same time''' to produce a combined effect</td>
<td>'''You cannot rotate or move textures'''. The only available texture setting controls the scale and rotation of the replacement texture</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>You can select multiple textures to be replaced by a single texture</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Select the texture assets by using either the "Grab Tool" or by "dragging and dropping"</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint.JPG|10px|link=]]</td>
<td>Textures can be deleted by using the workaround for '''Deleting Stubborn Objects''' described in the section '''Delete Scenery Objects''' above</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
The image below shows a region painted with one texture asset but with different scaling and rotation settings.
<table>
<tr valign="top">
<td>[[image:BulkAssetTextureReplaceOriginal.JPG|link=]]</td>
</tr>
</table>
 
<table width=1000 cellpadding=2>
<tr valign="top">
<td width="490" align="left">[[image:BulkAssetTextureReplaceOption.JPG|link=]]<br>
With the '''check box ticked''', the following is the result of a <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the <span style="font-weight: 700; color: white; background-color: black; font-size: 15px;">&nbsp;BEGIN&nbsp;</span> button.</td>
<td>&nbsp;</td>
<td width="490" align="left">[[image:BulkAssetTextureReplaceOptionOFF.JPG|link=]]<br>
With the '''check box unticked''', the following is the result of a <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on the <span style="font-weight: 700; color: white; background-color: black; font-size: 15px;">&nbsp;BEGIN&nbsp;</span> button.</td>
</tr>
<tr valign="top">
<td width="490" align="left">[[image:BulkAssetTextureReplaceScaleRot.JPG|link=]]<br>
The scale and rotation settings that were used in the original have been replaced with the default scale and rotation settings of the replacement texture.</td>
<td>&nbsp;</td>
<td width="490" align="left">[[image:BulkAssetTextureReplaceNoScaleRot.JPG|link=]]<br>
The same scale and rotation settings that were used in the original have been used with the replacement texture.</td>
</tr>
</tr>
</table>
</table>
----
<br>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729><span id="stepSamples"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepTexture|alt=Next Up|Next Up]]</td>
<td width=75>&nbsp;</td>
<td width=75>[[image:BackToBottom.png|link=#bottom|alt=Bottom|Bottom]]</td>
</tr>
</table> <!-- END Nav Buttons Table -->


==Option 3: Delete Objects==
='''Sample Applications'''=
=='''Replacing Some Assets'''==


The third option allows the deletion of objects from the layout.
<table width=1000>
<tr valign="top">
<td><span style="font-size: 17px;">'''The Problem:'''</span><br>
A forest has been created using three different trees. A number (30%) of the two smaller tree types are to be replaced with a larger tree of a different type.
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetDelete.JPG]]</td>
<td>[[image:BulkAssetTreesOriginal.JPG|link=]]</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width=1000>
<tr valign="top">
<td><span style="font-size: 17px;">'''The Solution:'''</span><br>
The '''Bulk Asset Update/Replace Tool''' does not have a feature that will allow the replacement of only some assets (it is ''all'' or ''none''), so a slightly more indirect approach is needed.<br>
[[image:BulkAssetTreesMove.JPG|link=]]</td>
</tr>
<tr valign="top">
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: To Replace Only Some of the Assets:-</span></td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint1.JPG|link=]]</td>
<td>A new layer, named '''Trees''' is created</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint2.JPG|link=]]</td>
<td>The '''Bulk Asset Update/Replace Tool''' is used to move 30% of the two smaller tree types to the new layer</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table cellpadding=2 bgcolor="Aquamarine">
<tr valign="top">
<td>[[image:LinkWiki.PNG|link=]]</td>
<td>For information on creating new layers, see the '''Trainz Wiki Page''' at:-<br>
* '''[[How to Use Layers]]'''</td>
</tr>
</table>
<br>
<table width=1000>
<tr valign="top">
<td>[[image:BulkAssetTreesReplace.JPG|link=]]</td>
</tr>
<tr valign="top">
<td>
<table bgcolor=#000000 cellpadding=2>
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td width=25>[[image:DotPoint3.JPG|link=]]</td>
<td>The original layer is then locked - this prevents the replacement of those trees that were not moved to the new layer (note the warning about the locked layer on the bottom left of the Bulk Asset Update/Replace window)</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint4.JPG|link=]]</td>
<td>The replacement tree is added to the '''Replace With''' list</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint5.JPG|link=]]</td>
<td>The '''Bulk Asset Update/Replace Tool''' is used to replace the two smaller tree types with the new tree type</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table cellpadding=2 bgcolor="Aquamarine">
<tr valign="top">
<td>[[image:LinkWiki.PNG|link=]]</td>
<td>
For information on how to lock layers, see the '''Trainz Wiki Page''' at:-<br>
* '''[[How to Use Layers]]'''</td>
</tr>
</table></td>
</tr>
</table>
<br>
'''The final result'''
<table width=1000>
<tr valign="top">
<td>[[image:BulkAssetTreesModified.JPG|link=]]</td>
<td>
<td>
*Tick the check box to randomly delete a % of the objects
<table bgcolor=#000000 cellpadding=2>
**You must select a percent figure from 5% to 100% in steps of 5%. Values other than 0% and 100% 100% will approximate, not exact
<tr valign="top">
<td>
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2>To complete the process:-</td>
</tr>
<tr valign="top">
<td width=25>[[image:DotPoint6.JPG|link=]]</td>
<td>The original layer is unlocked</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint7.JPG|link=]]</td>
<td>The '''Trees''' layer is merged with the original layer</td>
</tr>
</table>
</td>
</td>
</tr>
</tr>
</table>
</table>
 
<br>
----
<table cellpadding=2 bgcolor="Aquamarine">
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:DotPoint.JPG]]</td>
<td>[[image:LinkWiki.PNG|link=]]</td>
<td>'''Option 2 and Option 3 cannot both be checked ON at the same time'''</td>
<td>
For information on unlocking and merging layers, see the '''Trainz Wiki Page''' at:-<br>
* '''[[How to Use Layers]]'''</td>
</tr>
</table></td>
</tr>
</tr>
</table>
</table>
----
<br>
 
=='''Fixing "Texture Bleeds"'''==
 
<span style="font-size: 17px;">'''The Problem:'''</span><br>
 
<table width=1000 cellpadding=2>
<tr valign="top">
<td>[[image:MergedTextureBorderProblem.JPG|link=]]</td>
<td>
Sometimes when adding new baseboards or merging a route containing blank baseboards onto a route containing textured baseboards, there can be a "bleed-over" where a texture from the painted route will flow along some of the baseboard boundaries of the unpainted baseboards as shown in the image left.<br>
 
As strange as it may seem, this is actually "expected behaviour" and its purpose is to resolve other long standing problems that can occur when baseboards are added.<br>


='''Setting the Options - for Texture Objects'''=
The unwanted texture can (usually) be painted over by another texture and this will resolve the problem but there may be a lot of it to paint out and you may prefer a simplier solution. The '''Bulk Asset Update/Replace Tool''' can provide such a solution.<br><br>


The tool cab replace one texture with another. The only setting allowed controls the scale and rotation of the new texture.
<span style="font-size: 17px;">'''The Solution:'''</span><br><br>


The image below shows a region textured with one texture asset but with different scaling and rotation settings when the texture was laid.
<table bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: Grab the Grid</span>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetTextureReplaceOriginal.JPG]]</td>
<td>[[image:BulkAssetGridUpdate.JPG|link=]]</td>
<td>[[image:DotPoint1.JPG|link=]]</td>
<td>Use the '''Grab Tool''' to <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> on one of the bare grid lines to place the Grid texture into the '''Assets to update''' list</td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</table>


<table>
<table cellpadding=2>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetTextureReplaceOption.JPG]]</td>
<td rowspan=2>[[image:BulkAssetGridUpdateGridReplace.JPG|link=]]</td>
<td>With the check box ticked, the following is the result.</td>
<td>[[image:DotPoint2.JPG|link=]]</td>
<td>drag the Grid entry from the '''Update''' list into the '''Replace''' list. This will still leave a copy in the Update list</td>
</tr>
</tr>
<tr valign="top">
<tr valign="top">
<td colspan="2">[[file:BulkAssetTextureReplaceScaleRot.JPG]]<br>
<!-- <td>&#160;</td> -->
The scale and rotation settings that were used in the original have not been used with the replacement texture.</td>
<td>[[image:DotPoint3.JPG|link=]]</td>
<td>drag the Grid entry from the '''Update''' list out of the Tool box. This will delete the Grid entry from the Update list</td>
</tr>
</tr>
</table>
</table>
 
</td>
</tr>
</table>
<br clear="all">
<table width=1000 bgcolor=#ffffff cellpadding=2>
<tr valign="top">
<td colspan=2><span style="font-weight: 700; font-size: 15px;">Steps: Grab the "Bleed Texture" and Clean</span>
<table>
<table>
<tr valign="top">
<tr valign="top">
<td>[[file:BulkAssetTextureReplaceOptionOFF.JPG]]</td>
<td rowspan=6>[[image:BulkAssetSandUpdateGridReplace.JPG|link=]]</td>
<td>With the check box unticked, the following is the result.</td>
<td>[[image:DotPoint4.JPG|link=]]</td>
<td>use the '''Grab Tool''' to select the "bleed" texture and place it into the '''Update''' list</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint5.JPG|link=]]</td>
<td><span style="background-color: red; color: white; font-weight: 700; Font-size: 15px;">&nbsp;IMPORTANT:&nbsp;</span>&nbsp;change the scope setting to '''Current section only''' otherwise this texture will be replaced by the grid throughout the entire layout</td>
</tr>
</tr>
<tr valign="top">
<tr valign="top">
<td colspan="2">[[file:BulkAssetTextureReplaceNoScaleRot.JPG]]<br>
<td>[[image:DotPoint6.JPG|link=]]</td>
The same scale and rotation settings that were used in the original have been used the replacement texture.</td>
<td><span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the <span style="color: white; background-color: black; font-weight: 700; font-size: 15px;">&nbsp;BEGIN&nbsp;</span> button to complete the process</td>
</tr>
<tr valign="top">
<td colspan=2>If more than one baseboard needs this treatment then:-</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint7.JPG|link=]]</td>
<td>move the Surveyor cursor to the next baseboard and <span style="font-weight: 700; font-size: 15px; background-color: lightcyan;">Left Click</span> the <span style="color: white; background-color: black; font-weight: 700; font-size: 15px;">&nbsp;BEGIN&nbsp;</span> button to complete the process</td>
</tr>
<tr valign="top">
<td>[[image:DotPoint8.JPG|link=]]</td>
<td>repeat as necessary</td>
</tr>
</tr>
</table>
</table>
 
</td>
</tr>
</table>
<br>
<table> <!-- BEGIN Nav Buttons Table -->
<tr valign="top">
<td width=729><span id="bottom"></span>&nbsp;</td>
<td width=46>[[image:BackToTop.png|link=#top|alt=Top|Top]]</td>
<td width=75>[[image:NextUp.png|link=#stepSamples|alt=Next Up|Next Up]]</td>
<td width=75>&nbsp;</td>
<td width=75>&nbsp;</td>
</tr>
</table> <!-- END Nav Buttons Table -->
----
----
----
----
<br>
 
='''Trainz Wiki'''=
='''Trainz Wiki'''=
*'''<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>'''
<table cellpadding=2 bgcolor=#ffffff>
<tr valign="top">
<td>[[image:TrainzWiki.png|link=]]</td>
<td>
<span style="font-size: 17px;">'''More Tutorials and Guides to Using Trainz'''</span><br>
*'''<span class="plain;">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>'''
*'''[[Driver Commands List]]'''
*'''[[Session Rule List with Parameters|Session Rules List (Alphabetical) with Parameters]]'''
*'''[[Session Rule List with Parameters|Session Rules List (Alphabetical) with Parameters]]'''
*'''[[Session Rules By Categories With Properties|Session Rules List (Categories) With Parameters]]'''
*'''[[Session Rules By Categories With Properties|Session Rules List (Categories) With Parameters]]'''
<br>
</td>
<font size="3">'''Route Creation Tutorials:'''</font>
</tr>
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
</table>
*'''[[How to Use Layers]]'''
----
</div>
This page was created by Trainz user '''<span class="plain;">[http://online.ts2009.com/mediaWiki/index.php/User:Pware pware]</span>''' in June 2018 and was last updated as shown below.
<br>
----
<font size="3">'''Session Creation Tutorials:'''</font>
[[Category:How-to guides]]
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
*'''[[How to Create a HTML Asset|How to Create a HTML Asset (Session Introduction Page and In Game Messages)]]'''
*'''[[How to Control Junctions in Sessions]]'''
*'''[[How to Control Signals in Sessions]]'''
*'''[[How to Use Driver Setup Rule]]'''
*'''[[How to Use Message Popup Rule]]'''
*'''[[How to Use Message Popup Rule (Applications)]]'''
*'''[[How to Use Navigation Point Rules]]'''
*'''[[How to Use Navigation Point Rules (Applications)]]'''
*'''[[How to Use Parent and Child Rules]]'''
*'''[[How to Use Track Triggers]]'''
*'''[[How to Use Variables in Sessions (Examples)]]
*'''[[Parent Rule List|List of Parent Rules]]'''
</div>

Latest revision as of 04:53, 9 September 2026

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The information in this Wiki Page applies to the Bulk Asset Update/Replace Tool using the Surveyor Classic interface in T:ANE, TRS19, TRS22 and Trainz Plus.
For the Bulk Replace Asset Tool using the Surveyor 2.0 interface in Trainz Plus refer to the Wiki Page at  How to Use S20 Palettes - Bulk Replace Asset Tool.


  Top   Next Down Bottom

What is the Bulk Asset Update/Replace Tool?

The Bulk Asset Update/Replace Tool allows the replacement, deletion and modification of multiple instances of one or more different assets, including textures


Notes:

The tool automates the tedious process of deleting and replacing objects one at a time, as well as other tasks.

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 It allow the mass:-
deletion of scenery objects
replacement of one or more scenery objects by another object
random rotation of scenery objects
movement of scenery objects from one layer to another
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 These processes can be performed over the entire layout, a single baseboard or in a selected area only
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Deletion and movement between layers can be performed on a set percentage of the selected or replacement scenery objects
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The replacement operation can be performed on textures


Things it Will NOT Do

The Bulk Asset Update/Replace Tool CANNOT be used on:-
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 spline objects (tracks are not counted as splines so you can use the tool on tracks)
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 objects that are in a locked layer (easily fixed by unlocking the layer)
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 bridge splines
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 tunnel splines
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 multiple (parallel) track splines
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 consists/trains
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 objects of mixed types e.g. replacing buildings with track
  Top Next Up Next Down Bottom

Selecting Assets and Options

The tool is located in:-
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the Surveyor Main Menu in TANE (below left).
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the Surveyor Tools Menu in TRS19 and TRS22 (below right).
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 the Surveyor Tools Menu in Trainz Plus and TRS22PE when using Surveyor Classic (below right).


   


Notes:

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The large data box on the left of the tool window, the Assets to update list, is used to store the names of the objects that are going to be updated or replaced
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The smaller entry box on its right. the Asset to replace with list, is to store a single object that will replace the object or objects in the Assets to update list


Steps: To Select Assets to Be Updated/Replaced:-
Select the Assets to Update
There are two alternate methods of filling the Assets to update list
 
Steps: Use the Get Tool:-
Left Click on the Get Tool (shown below), then
Left Click on the object in the Surveyor screen

The object will be added to the list, as shown in the example above.
  OR
 
Steps: Use Drag-and-Drop:-
Left Click and Drag an object from the Object Tool Selection Window as shown below
  This can be repeated for multiple objects, using either or both methods, to build the list of Assets to update.


(Optional) Set Control Options:

Once the Assets to update list has been completed, the optional Rotate, Move to layer and Delete options can be used and the Scope can be set.

See the sections Setting the Options - for Non Texture Objects, Setting the Options - for Texture Objects and Setting the Scope below for more details.
(Optional) Add a Replacement Asset:

The same method of Drag and Drop is used to add an object to the Asset to replace with list.

Notes:

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Only a single object can be added to the Asset to replace with list. If a second object is dragged into the list it will delete and replace the first object
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 When objects are being replaced they must be replaced by objects of the same general type - both lists must contain:-
non-spline scenery objects, or
track (single track only and no bridges or tunnels), or
track objects of the same type (e.g. signals), or
textures


If you attempt to replace one type of object with a different type you will receive an error message.


Options: Choose one of:-
Left Click on  No  to cancel the update, OR
Left Click on  Yes  to proceed with the update but the mismatched objects will not be replaced
Perform the Update:
Once all required options and values have been entered, Left Click the  BEGIN  button to complete the process.
  Top Next Up Next Down Bottom

Deleting Assets from the Lists

Options: To remove items from the list choose one of:-
Use the Drag and Drop method to remove individual objects from the lists. OR
Left Click the icon to remove all the objects


  Top Next Up Next Down Bottom

Setting the Scope

Select the region of the layout where the updates, replacements or deletions will occur:-

Options: Choose one of:-
Anywhere on the route - the entire layout
In current section only - the current baseboard
In selected area - a defined area (see below)


If the Selected area option is chosen, then...

Steps: To Define a Selected Area:-

Left Click the Red icon, and
Left Click and Drag out the area to be used


  Top Next Up Next Down Bottom

Setting the Options - for Non Texture Objects

Option 1: Randomly Rotate Scenery Objects

The first option controls the rotation or orientation of the original OR the replacement scenery objects.


Settings:
If no Replace with object is entered then the objects in the Assets to update list will be randomly rotated to new orientations
If a Replace with object is entered then the replacement objects in the Replace with list will be randomly rotated to new orientations
All the layers containing the objects must be unlocked. Objects in locked layers will not be rotated


Steps: To Randomly Rotate Scenery Objects:-
a Ticked checkbox will randomly rotate each replacement (or original) scenery object when it is placed
an Unticked checkbox will keep the original orientation of each scenery object as it is replaced (this will have no effect if there is no Replace with object)
Left Click the  BEGIN  button to complete the process


Option 2: Move Scenery Objects to Another Layer

The second option allows the original OR replacement scenery objects to be moved to another layer.

Splines are not classified as scenery objects and cannot be moved to another layer by using the Bulk Asset Update/Replace Tool
To move a spline to another layer set the layer property in the spline property window to the new layer. You will have to do this on every spline segment.



Settings:
If no Replace with object is entered then the selected percentage of the objects in the Assets to update list will be moved to the selected layer
If a Replace with object is entered then the selected percentage of the replacement objects in the Replace with list will be moved to the selected layer
All the layers containing the objects must be unlocked. Objects in locked layers will not be moved

Steps: To Move Objects to Another Layer:-

Tick the check box to randomly move a set % of the replacement (or original) scenery objects to another layer, OR
Untick the check box to keep all the replacement scenery objects in the same layer as the original scenery objects. This has no effect if there are no objects in the Replace with list
Select a percentage figure from 0% (none) to 100% (all)
Select the layer for the objects to move to (the layer must be unlocked)
Left Click the  BEGIN  button to complete the process


CAUTION:
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 When moving track or track objects (signals, switches, etc) to other layers always make sure that no track objects end up in a layer that is above the layer containing the track they are attached to
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Moving objects between the Route Layer Group and the Session Layer Group will change where they are saved - in the route or the session


Option 1 and Option 2 CAN both be checked ON at the same time to produce a combined effect


Option 3: Delete Scenery Objects

The third option allows the deletion of scenery objects from the layout.


Settings:
Select a percent figure from 0% to 100% in steps of 5%. Values other than 0% and 100% will be approximate, not exact. Selecting 0% will delete none of the objects, 100% will delete them all
All the layers containing the objects must be unlocked. Objects in locked layers will not be deleted

Steps: To Delete Scenery Objects:-
Tick the check box to randomly delete a set % of the objects
Select a percentage figure from 0% (none) to 100% (all)
Left Click the  BEGIN  button to complete the process


Notes:

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Option 2 and Option 3 CANNOT both be checked ON at the same time
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Option 1 and Option 3 CAN both be checked ON at the same time to rotate all the scenery objects before deleting a set percentage of them.


Deleting "Stubborn" Objects:

Some objects simply will not delete, for example some non track splines. The workaround for deleting these objects from a layout is:-

Steps: To Delete "Stubborn" Objects:-
Warning: This method is an All or Nothing approach. ALL instances of the selected asset will be deleted from your layout
exit Surveyor and start Content Manager
locate and select (highlight) the stubborn asset
Left Click the Content menu and select Disable or Hide (depending on your version of Trainz). This will not delete the object from your layout or from your Trainz installation
start Surveyor and reload the route. It will now have a missing dependency
from the Main Menu (in T:ANE) or the Tools Menu in (TRS19/Trains Plus/TRS22) select the Delete Missing Assets option
save the route and exit Surveyor
The disabled asset will no longer be present in your layout. It should now be restored for other uses
start Content Manager
locate and select (highlight) the now disabled asset
Left Click the Content menu and select Enable


  Top Next Up Next Down Bottom

Setting the Options - for Texture Objects

Notes:

Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 You cannot rotate or move textures. The only available texture setting controls the scale and rotation of the replacement texture
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 You can select multiple textures to be replaced by a single texture
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Select the texture assets by using either the "Grab Tool" or by "dragging and dropping"
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Textures can be deleted by using the workaround for Deleting Stubborn Objects described in the section Delete Scenery Objects above


The image below shows a region painted with one texture asset but with different scaling and rotation settings.


With the check box ticked, the following is the result of a Left Click on the  BEGIN  button.
 
With the check box unticked, the following is the result of a Left Click on the  BEGIN  button.

The scale and rotation settings that were used in the original have been replaced with the default scale and rotation settings of the replacement texture.
 
The same scale and rotation settings that were used in the original have been used with the replacement texture.


  Top Next Up   Bottom

Sample Applications

Replacing Some Assets

The Problem:

A forest has been created using three different trees. A number (30%) of the two smaller tree types are to be replaced with a larger tree of a different type.


The Solution:

The Bulk Asset Update/Replace Tool does not have a feature that will allow the replacement of only some assets (it is all or none), so a slightly more indirect approach is needed.

Steps: To Replace Only Some of the Assets:-
A new layer, named Trees is created
The Bulk Asset Update/Replace Tool is used to move 30% of the two smaller tree types to the new layer


For information on creating new layers, see the Trainz Wiki Page at:-


The original layer is then locked - this prevents the replacement of those trees that were not moved to the new layer (note the warning about the locked layer on the bottom left of the Bulk Asset Update/Replace window)
The replacement tree is added to the Replace With list
The Bulk Asset Update/Replace Tool is used to replace the two smaller tree types with the new tree type


For information on how to lock layers, see the Trainz Wiki Page at:-


The final result

To complete the process:-
The original layer is unlocked
The Trees layer is merged with the original layer


For information on unlocking and merging layers, see the Trainz Wiki Page at:-


Fixing "Texture Bleeds"

The Problem:

Sometimes when adding new baseboards or merging a route containing blank baseboards onto a route containing textured baseboards, there can be a "bleed-over" where a texture from the painted route will flow along some of the baseboard boundaries of the unpainted baseboards as shown in the image left.

As strange as it may seem, this is actually "expected behaviour" and its purpose is to resolve other long standing problems that can occur when baseboards are added.

The unwanted texture can (usually) be painted over by another texture and this will resolve the problem but there may be a lot of it to paint out and you may prefer a simplier solution. The Bulk Asset Update/Replace Tool can provide such a solution.

The Solution:

Steps: Grab the Grid
Use the Grab Tool to Left Click on one of the bare grid lines to place the Grid texture into the Assets to update list
drag the Grid entry from the Update list into the Replace list. This will still leave a copy in the Update list
drag the Grid entry from the Update list out of the Tool box. This will delete the Grid entry from the Update list


Steps: Grab the "Bleed Texture" and Clean
use the Grab Tool to select the "bleed" texture and place it into the Update list
 IMPORTANT:  change the scope setting to Current section only otherwise this texture will be replaced by the grid throughout the entire layout
Left Click the  BEGIN  button to complete the process
If more than one baseboard needs this treatment then:-
move the Surveyor cursor to the next baseboard and Left Click the  BEGIN  button to complete the process
repeat as necessary


  Top Next Up    


Trainz Wiki

More Tutorials and Guides to Using Trainz


This page was created by Trainz user pware in June 2018 and was last updated as shown below.