Benefit of External Rules and Global Forms?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm still fairly new at using iLogic and wonder what the benefit of global rules and forms are over being locally-stored. I am working on creating part templates and thought that using a global form would allow me to make changes in the future to all parts created from that template if a global rule/form was used. Am I correct in that thinking?
I have also found that attempting to make changes to iProperties via external rules does not work. For example, I have an external rule written to change the material type as:
SyntaxEditor Code Snippet
If Parameter("material") = "MS" Then iProperties.Material= "MS" ElseIf Parameter("material") = "FB" Then iProperties.Material= "FB" ElseIf Parameter("material") = "SS" Then iProperties.Material="SS" ElseIf Parameter("material") = "SF" Then iProperties.Material= "SF" ElseIf Parameter("material") = "BP" Then iProperties.Material= "M2" ElseIf Parameter("material") = "CB" Then iProperties.Material= "CB" End If
As written, when the prompt in the global form is changed to any of these options, the material type does not change. If I change the rule from an external rule to a local rule and use "material" as a variable it works just fine. What am I missing?
Thanks!