PrazSparty
Automotive
- Feb 16, 2024
- 6
Hello,
I'm looking to get a rule to add two parameters together when an "if" command is used in a rule.
If the `Width Offset Needed` = "RH" or "LH" then I need the `Name/Stock Size` parameter to update to include the added length of the `Width Offset Length`.
In other words, if the offset is needed then the size should update to 32 because 22mm from the `Angle Length` plus the 10mm from the 'Width Offset Length`
I've tried multiple strings like below with no luck.
if `Width Offset Needed` =="RH"
{
`Angle Length` = ToString(`Angle Length` +`Width Offset Length`)
}
I'm looking to get a rule to add two parameters together when an "if" command is used in a rule.
If the `Width Offset Needed` = "RH" or "LH" then I need the `Name/Stock Size` parameter to update to include the added length of the `Width Offset Length`.
In other words, if the offset is needed then the size should update to 32 because 22mm from the `Angle Length` plus the 10mm from the 'Width Offset Length`
I've tried multiple strings like below with no luck.
if `Width Offset Needed` =="RH"
{
`Angle Length` = ToString(`Angle Length` +`Width Offset Length`)
}