Hello hairy_kiwi,
there is no need to search the QET-Sourcecode to find the possible text-variables for references!
If an element is declared as coming / going reference the possible choices for the texts are shown in the drop-down.
Hallo plc-user,
I agree there's no need per se, except to make the layout of single-line concatenated text strings a little prettier, as it provides a convenient method to use one Dynamic text field instead of two or more.
For example, I don't think there's a QET-native method for laying out the following:
"%{conductor_color} %{conductor_section}"
while maintaining two spaces – or some other character(s) – between those variables and keeping that entire string centred about the element insertion point, irrespective of its total character length; hopefully that consistency of text alignment across multiple wires is visible in my examples.
Now, approximately the same layout can be achieved using two Dynamic text fields, setting left-variable field right-aligned and right-variable field left-aligned, but that takes greater effort to configure when creating the element - and in the end the output is not as pretty.
For two-line (or multiline) text, I fully agree the method you show is more convenient.
I may not be using QET for the kind of wiring diagramming for which it was originally conceived, but I appreciate it - and all the work that goes into developing it - because I enjoy its ability to generate aesthetically pleasing output, even if a few workarounds are still required to achieve that; thanks for everything you've been working on for the QET project.