Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to make an if statement check multiple conditions but I am getting errors in my iLogic code. I've looked online and it seems like I am writing it correctly, but I keep getting errors. Can anyone help me fix what I am doing wrong?
See below:
If finished_end_options = "Left" And edgeband_options = "None" Then
Feature.IsActive("Side Right FE Extrusion") = False
Feature.IsActive("Side Left FE Extrusion") = True
Feature.IsActive("Side Left FE Trim") = True
Feature.IsActive("Side Right FE Trim") = False
Feature.IsActive("Left Side Holes") = False
left_back_ph_fe = dado_depth + side_rabbet_depth / 2
Feature.IsActive("Right Side Holes") = True
right_back_ph_fe = cm_thk / 2
If finished_end_options = "Left" And edgeband_options = "All" Or "Sides Only" Then
Feature.IsActive("Side Right FE Extrusion") = False
Feature.IsActive("Side Left FE Extrusion") = True
Feature.IsActive("Side Left FE Trim") = True
Feature.IsActive("Side Right FE Trim") = False
Feature.IsActive("Left Side Holes") = False
left_back_ph_fe = dado_depth + side_rabbet_depth / 2
Feature.IsActive("Right Side Holes") = True
right_back_ph_fe = cm_thk / 2
I am going to make another feature active depending on the result.
Thanks in advance for any input.
Solved! Go to Solution.