So in case anybody is looking for this: this is how it worked for me. (Not the cleanest code, for example propably not all of the allsels are needed.) Postprocessing by the way was the most complex for me to get right as a first time user of apdl snippets. In my case I needed to add multiple resistors, each between a surface I defined beforehand as a named selection or component (not sure how it’s called in english) and a defined voltage. The snippet takes the named selection, couples all nodes together, adds another node somewhere else, inserts a circu124 between them and adds the voltage on the new node.
First snippet (added below the “steady-state thermal-electric conduction” branch of the tree)