Pipe Animation Issues in Perspective

Wanted to see if anyone on the forums had any great tips doe making pipe animations in perspective any less painful. We have a large project right now and are "programming on the fly" with field changed happening rapidly. This causes a lot of issues with pipe fill animation bindings. If we make any changes (ie adding or deleting pipes in the pipe array) Perspective automatically shifts the bindings around causing the engineer to have to retag basically the whole screen. I know IA knows of this bug, but has anyone come up with a work around here with any scripting or export of the pipe config and manipulation outside of the designer? Would love to hear any other options. Inductive I would really like to see some progress on some of the bugs with the pipe tool in perspective. The fact that the bindings still don't update on the first try when you copy/paste and change them is also a huge bug that needs to be addressed.

Thanks for any tips or tricks you all know of.

Would also be very interested in hearing if anyone knows a way to lock the fill binding to the original array item it is assigned to.

This bug was fixed recently. What version are you using?

Really? That's great news! We are on 8.1.42. Was this fixed in 8.1.43? I checked the release notes and did not see anything in .42 or .43 talking about this bug.

Bug is still present on 8.1.45 unfortunately.

Deleted my other post after realizing it probably doesn't apply.
It's definitely not a performant solution, and hopeful someone can come up with a more elegant solution, but...
If you were to assign a meaningful name to each pipe..
Wondering if you could create a custom property on your coordinate container, an expression structure binding which contains a tag binding to every value you want to trigger an animation on, followed by a script transform which assigns a new fill color to every pipe - by name.
Any time any of the tags change in value, the script transform would run and reassign fill colors to every pipe as defined in your script.

We were actually able to accomplish this with naming each pipe a number that corresponds with the BOOL array value from the PLC. We read that bool array in ignition as DINT arrays and use a script transform to extract the bit indices that are high and set the pipe stroke color accordingly. Very efficient as it requires the one binding to a custom view property.

In this example you can see I have 3 different custom properties since this view requires 3 different tags for the pipe fill:

Still much to be desired in the pipe tool, but this makes things SO much better when it comes to animation.

Which version was this fixed in?? It's still causing issues in 8.1 and is beyond infuriating. I often feel like smashing my monitor

The quoted comment is two years old. My memory is good, but not that good. I'm not going to search the release notes for you.

The "fix" is not for programmatic alteration of arrays, but only for alterations made by the human operator of the designer, in the property editor.

How are you making your changes?

Thanks for the response Phil. We are doing expression-based bindings (mainly if statements) on the pipes. It sometimes feels like there's a ghost putting my pipes in shuffle mode.

I've seen unex

Make sure you're using logic comparators in your if statements instead of bitwise: && or || instead of & or |

I would always break complex conditions up into bite sized chunks that can be diagnosed, rather than many conditions all bundled into the one, which is impossible to test

I was refactoring a window somebody had made using tag expressions when I encountered this 27 line monstrosity of an expression that should have been a simple three line if statement. They had inadvertently used bitwise operators for the comparison, which would have gave unexpected results for otherwise falsy values such as null. My guess is that instead of consulting the documentation and getting their head around what was happening, they fed their expression into an LLM, and it wrapped the conditions in enough casts and qualifications to make it work without having to correct the operators.

I've often dream about a library of reusable & user-defined expression functions, and the convenience that would provide as a first-party solution.

Imagine a world where you create a isAvailable function, and you have the ability to update that expression everywhere that it is already used. Would be a game changer for me...

Still on my Toolkit to-do list, fwiw.

I’ve imagined that an “easy button” would be an approach that implements an ‘expression comprised of expressions’.