| 50 |  | public static void updateChainValues( | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 51 |  | [Parameter(Required = true, Description = "The new first value of the chain. All the chain will be updated based on this value")] string newValue, | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 52 |  | [Parameter(Description = "Value which have some kind of relation with -newVal \n Together with -newVal updates all the values based on the" + | 
 
 
 
 
 
 
 
 
 
 
 | 53 | < | "-newVal and another position specified on -valRelation parameter (basically starts with (newVal-valRelation) ) Is especially useful when" + | 
 
 
 
 
 
 
 
 
 | 53 | > | "-newvalue and another position specified on -valrelation parameter (basically starts with (newvalue-valrelation) ) Is especially useful when" + | 
 
 
 
 
 
 
 
 
 
 
 | 54 |  | "updating multiple related chains (on different files), like multiple objects from one position to another. Don't use with -filename, because" + | 
 
 
 
 
 
 
 
 
 
 
 | 55 | < | "it will only update one file. \nExample: xmlTools.exe -newVal \"1 1 1\" -valRelation \"4 4 4\" -valElement Translation -valParentElement" + | 
 
 
 
 
 
 
 
 
 | 55 | > | "it will only update one file. \nExample: xmlTools.exe updatechainvalues -filename:OBANheli_body_center.xml -newvalue:\"1 1 1\" -valrelation:\"4 4 4\" -element:Translation -parelement:" + | 
 
 
 
 
 
 
 
 
 
 
 | 56 |  | "OBANKeyFrame")] string valRelation, | 
 
 
 
 
 
 
 
 
 
 
 | 57 | < | [Parameter(Description = "Only update specific positions. Positions starts with 0, separted multiple positions with space. Example: valPositions=0 1 4")] [MoreThan(-1)]  string valPositions | 
 
 
 
 
 
 
 
 
 | 57 | > | [Parameter(Description = "Only update specific positions. Positions starts with 0, separted multiple positions with space. Example: valpositions=\"0 1 4\"")] [MoreThan(-1)]  string valPositions | 
 
 
 
 
 
 
 
 
 
 
 | 58 |  | ) | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 59 |  | { | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 60 |  | initialChecks(); |