Hi @parametricmonkey1,
There is a bug on âElement Parameterâ component, but let me explain what happens here.
Iâm sure your document is more complex than that but this one is enough to reproduce the problem you descrive.
This definition takes all walls in a model and increase by 200mm its âUnconnected Heightâ. That means that each time it runs it needs to run completly from left to right side, taking the previous value, computing the new one and assigning it to the wall.
Left side is only reading from the Document, those components that are not black will never provoque this, but on the right side we have a component that is modifying the document, and is modifying the document in a way that the left side needs to be refreshed.
On the status bar is telling us that two objects will be expired on the next solution because of that. âQuery Wallsâ and âElement Parameterâ show a white ballon telling the same thing to help you identify the objects that contain obsolete data. âElement Parameterâ contains the previous height and will be refreshed.
This never happens in regular Grashopper definitions, unless you use âBake Geometryâ an reference that baked geometry as an input. Grasshopper donât use to modify the Rhino document, so inputs are stable during several solutions, until the user modify the Rhino document manually.
Now the bug.
Your definition looks more like this, but with a False
in your case, but a stable value on both cases.
In this case the first time you connect the 200 slider it will update all walls height, will expire again the left side, but the next time, and here is the bug, âElement Parameterâ should not update those walls because all already have the expected height. This breaks the loop and the document becomes stable and âfastâ again. No white ballons and no message on the status bar.
The bug is that âElement Parameterâ is not checking before assigning a new value to break that loop. We do that kind of validation on other components but I forgot the most obvious one .
Itâs fixed now. Thanks for reporting.
You can test it now on the âDaily Channelâ or next Tuesday on the âRelease Candidateâ Channel.