- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Not sure if title fits I will change if not right subject.
This is hard for me to explain but I hope you can understand what I need.
I am doing a tie rod the issue I have is when the length is between 2.001 and 2.250 we would drill thru all but only tap the ends .750 deep. If the part is 2.000 would would drill and tap thru in one step and not have to rotate the part in the lathe.
How do I get ilogic to understand if my number is between this 2.001 and 2.250 to lengthen the drill length parameter?
Or add a mid plane cut? ( trying now code below reflects this try)
Not sure what way I want yet but I just can't seem to find a snippet or code to do this. I tried to add a list in the parameters for it to read but seems to do nothing.
I hope I am clear on my issue if not ask and I will try to fill in the blanks.
Thanks
This is just one way I tried
If LENGTH <= "2" Then Feature.IsActive("Thru_All") = True Feature.IsActive("Hole_A") = False Feature.IsActive("Hole_B") = False iProperties.Value("Project", "Description") = "RETURN ROLLER SHAFT, " & iProperties.Value("Custom", "DIAM") & " Ø S/S, TAP THRU 3/8-16, " & iProperties.Value("Custom", "LENGTH") & " LONG" Else Feature.IsActive("Thru_All") = False Feature.IsActive("Hole_A") = True Feature.IsActive("Hole_B") = True iProperties.Value("Project", "Description") = "RETURN ROLLER SHAFT, " & iProperties.Value("Custom", "DIAM") & " Ø S/S, TAP BOTH ENDS 3/8-16, " & iProperties.Value("Custom", "LENGTH") & " LONG" End If If LENGTH = (My_List) Then Feature.IsActive("Mid_Cut") = True Else Feature.IsActive("Mid_Cut") = False End If
Solved! Go to Solution.