10-17-2018
08:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-17-2018
08:29 AM
This is the code I created. It's just a simple If/Then statement:
SyntaxEditor Code Snippet
If Plate_Diameter = 4 ft Then Parameter("Dia") = "4'-0""" Parameter("THK") = "1/2""" Cutout_Length = 18 in Cutout_QTY = 14 ul Else If Plate_Diameter = 6 ft Then Parameter("Dia") = "6'-0""" Parameter("THK") = "1/2""" Cutout_Length = 30 in Cutout_QTY = 14 ul Else If Plate_Diameter = 8 ft Then Parameter("Dia") = "8'-0""" Parameter("THK") = "1/2""" Cutout_Length = 36 in Cutout_QTY = 14 ul End If
I don't use iLogic much, but I have written this type of code hundreds of times and I've not had any issues with it until now.