Changing iPart with iLogic

Changing iPart with iLogic

Nauld1
Enthusiast Enthusiast
265 Views
0 Replies
Message 1 of 1

Changing iPart with iLogic

Nauld1
Enthusiast
Enthusiast

So I wrote the Following iLogic:

 

SyntaxEditor Code Snippet
If Crosstie_Depth = True And UG_Height = 132 in Then
iPart.ChangeRow("ML2005_iAssembly:5", "ML2005_iAssembly-01")
End If
If Crosstie_Depth = True And UG_Height = 168 in Then
iPart.ChangeRow("ML2005_iAssembly:5", "ML2005_iAssembly-05")
End If
If Crosstie_Depth = True And UG_Height = 192 in Then
iPart.ChangeRow("ML2005_iAssembly:5", "ML2005_iAssembly-09")
End If
If Crosstie_Depth = False And UG_Height = 132 in Then
iPart.ChangeRow("ML2005_iAssembly:5", "ML2005_iAssembly-03")
End If
If Crosstie_Depth = True And UG_Height = 168 in Then
iPart.ChangeRow("ML2005_iAssembly:5", "ML2005_iAssembly-07")
End If
If Crosstie_Depth = True And UG_Height = 192 in Then
iPart.ChangeRow("ML2005_iAssembly:5", "ML2005_iAssembly-11")
End If

It's supposed to change the height of a post and the spacing of holes on the post based on set parameters. There doesn't seem to be any errors with the program itself, but when I change my parameters the iPart won't change. Anyone have any ideas why?

0 Likes
266 Views
0 Replies
Replies (0)