Update on iLogic’s Ability to Access Non-Numerical MultiValues

I played around for quite a few hours trying to get iLogic to do what I wanted it to do without writing Visual Basic code or delving into the API to no avail…

I was able to hack a rule that would take care of the top edge detail, but that was only by changing the parameter from a string parameter named Top_Detail with the values Flat and Bullnose to a Boolean Parameter named Bullnose_Top which is, of course,  true or false. I then needed to create the actual feature in order for things to work, which sucks, but it is what it is.

A Hack to Get iLogic Working

  Now when Melamine is chosen as a side material, the Lumber_Species and Side_Ply_Type parameters are unavailable as desired, the Side_Thickness parameter defaults to ⅝” and also has the ½” value available —-again, as desired.  Skipping over the  finish and bottom related rules which have not been written yet, we get to the new Bullnose_Top parameter controlled by this rule…

If  Bullnose_Top = True And Side_Material = “Plywood” Or Side_Material“Solid Wood” Then
Feature.IsActive(“Bullnose Sweep”) = True
ElseIf  Bullnose_Top = True And Side_Material“Melamine” Then
Feature.IsActive(“Bullnose Sweep”) = False

ElseIf  Bullnose_Top = False Then
Feature.IsActive(“Bullnose Sweep”) = False
iLogicVb.RunRule(“Edge Hack”)
End If

 

…which allows the toggling back and forth of the Bullnose_Toprule after the initial material selection which makes the Bullnose feature unavailable for melamine sided boxes and a valid option on wood and plywood. The second part of the rule sends the program to a little hack rule (below) that is needed to return the Bullnose_Top parameter to false when it is changed manually after selecting Melamine as a material. Without it, the parameter will read true, while the model behaves correctly and shuts down the feature…

If  Bullnose_Top = True And Side_Material = “Melamine” Then
iLogicVb.RunRule(“Rule Availability”)
End If

…I’ll need to back off the iLogic and get to configurating soon, but a technical difficulty is holding things up till next week. I’ll know more on that tomorrow. Later…

 

 

 

 



Subsribe to Post Notifications


 





One thought on “Update on iLogic’s Ability to Access Non-Numerical MultiValues

  1. Pingback: Tweets that mention Update on iLogic’s Ability to Access Non-Numerical MultiValues | Inventor for Woodworkers -- Topsy.com

Leave a Reply