-
dynamically add slider values from every second layer to a master slider
Hi crowd,
I want to build a template for a diagram. The template is supposed to consist of a path on a shape layer with “trim paths” and a text layer that has a slider control to which the trim paths is parented. I want to be able to dynamically duplicate both, shape and text layers, so that each trim path of each new shape layer is automatically parented to the end-value of the shape layer before. That in itself is not my problem. What stymies me is that I need another slider sitting on a master control layer that adds up all values of all sliders on all text layers, which can be either 1 or n. These sliders though, sit only on every second layer (i. e. the text layers). Why? Because I want the text layers to automatically move in a way that they are always situated above the middle of their corresponding diagram parts. I know how to get that and can solve it for a predefined number of diagram parts, but not for n dynamically changing diagram parts.
This is quite complex to describe an I hope I’ve more or less communicated my problem in an understandable way.