I have a few analog indicator templates that I’m working on for a project that are similar to the default Moving Analog Indicator object. These indicators are set up with a moving indicator, a desired operating range, and high/low alarm range indicators. The relX, relY, and Height position properties of the shapes that make up each one of these ranges have expression bindings on them to correctly calculate the height and position within the template. All of the expressions are using relative coordinates and the height values of other objects rather than using absolute pixel values.
The issue I run into is I’d like the templates to be scalable with certain constraints, so I’m using the anchored layout on all of the components within the template. When doing this and when the template is resized, it seems like the expressions that are being calculated to determine the size and position of all of the components are using the height, width, x, and y values of the components as they are within the template itself rather than the resized instance of the template. Is there any way around this?