Message 1 of 5
Parameter change rule trigger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
This should be an easy one - I have a large configuration model that I'm building with MANY parameters and I've been playing with some more concise ways of laying out the code than This Parameter from this model = That Parameter in the assembly.
I laid it out so that one set of code was placed in a private sub and the title of all of the parameters are built from a string. Unfortunately because the parameters are not explicitly named (i.e. blue) they don't trigger the rule.. Is there any way around this?
Thanks for your help!
Sub Main
'Get the path of the current assembly because the nozzles will be in a subfolder
Call SideNozzle("Alpha", "α")
Call SideNozzle("Beta", "β")
Call SideNozzle("Gamma", "γ")
Call SideNozzle("Delta", "δ")
Call SideNozzle("Epsilon", "ε")
End Sub
Private Sub SideNozzle(CharacterString As String, LetterString As String)
'Params downstream to nozzle sub-assembly
Parameter(CharacterString & " Nozzle:1", "NozzleDesignation") = Parameter(LetterString & "_Nozzle_Designation")
Parameter(CharacterString & " Nozzle:1", "NozzleDescription") = Parameter(LetterString & "_Nozzle_Description")
End Sub
Use iLogic Copy? Please consider voting for this long overdue idea (not mine):https://forums.autodesk.com/t5/inventor-ideas/string-replace-for-ilogic-design-copy/idi-p/3821399