Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there.
I work with some fairly complex models that have a lot of parameters. Sometimes I need to write a function that iterates through multiple parameters (based on their name) and updates some value, like so for example:
For i = 0 To list_section_total.Count - 1 Dim result = sum_previous(list_section_total, i) Parameter("inlet_" & k & "_offset_" & std_section_lengths(i)) = result Next
However, when the number of parameters increases, accessing or updating parameter values with the Parameter function takes increasingly longer time. But doing this directly with the "blue parameters" is very fast.
Why is there a difference and is there any other, faster way to simply get or set the value of a parameter based on its name?
Thanks in advance!
-Casper
Solved! Go to Solution.