i made a deeper dive into the source of the plugin
Within the plugin i switched positions with the down button.
Attached is example file and backup from the plugin created. Source is from here https://github.com/raulroda/qet_tb_generator-plugin
The upper part "update terminals" from the screenshot is generated within
def update_terminals(self, data):
"""Changes the config of every terminal in the diagra. The changes made
in the plugin will be save in the 'elementInformation' of every
terminal."""
print('update terminals')
for diagram in self.qet_project.findall('diagram'): # all diagrams(pages)
for element in diagram.iter('element'): # all elements in diagram
dt = [x for x in data if x['uuid'] == element.attrib['uuid']]
The lower part lists the tree withing "def save_tb(self, filename)"
It looks as if the properties of the terminals are switched (ground and standart) and not, like i hoped the positions within the plugin.
Post's attachments ohne Namen.qet 26.2 kb, 39 downloads since 2024-07-28
ohne Namen_108.qet 26.2 kb, 40 downloads since 2024-07-28
Unbenannt.PNG 57.28 kb, 34 downloads since 2024-07-28