Are the Terminals, the bridge, the cable etc created automatic or did u write it yourself for each terminal?
1 2026-03-04 08:27:46
Re: QET TB GENERATOR stage update color and custom tkinter (29 replies, posted in Terminal block generator)
2 2026-03-04 08:26:31
Re: Python script for generate cross-references in .pdf file (45 replies, posted in Scripts)
Could someone give me all the translations for the component information? I think they are already in the Code? Then i could add them in my tool
3 2026-02-27 12:21:12
Re: Python script for generate cross-references in .pdf file (45 replies, posted in Scripts)
Thanks for testing and reporting back. I'll look into where the problem lies, fix it, and upload an update.
would it be possible, that u give me .qet to test it? I have tried with a single page with 2-1 and it works.
4 2026-02-26 23:45:24
Re: Python script for generate cross-references in .pdf file (45 replies, posted in Scripts)
Thank you.
I think this should be possible.
i can take a look.
But that this works, i have to enter the different Settings from QET. This will take a bit of time. If u want, i can do that
5 2026-02-26 14:08:41
Re: Python script for generate cross-references in .pdf file (45 replies, posted in Scripts)
I have attached everything.
I deleted many pages from a previous project. So don't be surprised that the plan doesn't make much sense as it stands.
6 2026-02-26 08:51:48
Re: Python script for generate cross-references in .pdf file (45 replies, posted in Scripts)
A workaround it's to program code that use PDF like yours python program and also read the .qet XML, also you didn't need to enter rows, columns counts, size, and maybe with the folio label found page position.
You neeed two file, PDF of your project and the project.qet, I think!
I have implemented your idea.
The script is attached.
Currently, German and English are supported.
The settings currently supported in QET are:
Text alignment for slave elements: Top, Right, Bottom, Left
Settings for the master: Position below the master and display as contacts.
This means that the options for displaying as a table and showing the contacts at the bottom of the slide are still missing. I don't use these settings either.
For Commutator must be used slave elements which are marked with other
I have implemented an additional function:
You can also enter component information, such as manufacturer, function, etc.
To do this, an info box is placed on the upper left contact of the element. This allows you to see directly which component it is and you don't have to go to the component directory. Since I use the variables for my tool with the terminal diagram differently than their labeling, I have included the option to exclude any components of the terminal type for the info boxes.
Translated with DeepL.com (free version)
7 2026-02-23 19:19:47
Re: Question about texts (3 replies, posted in EN : Help, suggestions, discussions, ...)
I'm sorry, I don't understand your first question.
As far as I know, there is currently no way to center align text. If you want to do this, you have to do it manually. But I may be wrong.
8 2026-02-10 21:11:32
Re: Zusatzfunktionen (5 replies, posted in Scripts)
Ich habe meine Zusatzfunktionen noch einmal geupdated.
Die Änderungen sind folgende:
Der Titel in dem Klemmenplan und der Kabelliste wird jetzt aus dem Titel in den Projekteigenschaften gezogen. So wird kein separates Feld bei den Folien benötigt.
Die Punkte der Klemmen kommen nun über Protokoll / Spannung statt über den Eintrag in Funktion.
Die Suche in dem Klemmenplan geht jetzt über die UUID statt über das Betribesmittelkennzeichen. Das gab Probleme, wenn das BMK öfters vergeben ist.
Englisch:
I have updated my additional functions again.
The changes are as follows:
The title in the terminal diagram and cable list is now taken from the title in the project properties. This means that no separate field is required on the slides.
The terminal points are now entered via Protocol / Voltage instead of via the entry in Function.
The search in the terminal diagram now uses the UUID instead of the operating resource identifier. This caused problems when the BMK was assigned frequently.
Translated with DeepL.com (free version)
9 2026-02-09 18:55:13
Re: script edition nomemclature (9 replies, posted in Scripts)
I tried your script.
However, it didn't work to write information directly to the QET file.
Unfortunately, I find your version very confusing.
I have now taken my PLC manager and modified it functionally so that it has the same function.
This gives you a page-by-page breakdown of the components, and I have added the missing variables.
My German version is attached.
10 2026-02-08 15:40:40
Re: SPS Manager / PLC Manager (7 replies, posted in Scripts)
i dont know how this works.
But maybe i could add a Drop down for different Languages? Maybe English, German, French?
12 2026-02-08 14:18:37
Re: SPS Manager / PLC Manager (7 replies, posted in Scripts)
Project and Video is attached
13 2026-02-07 18:17:27
Re: SPS Manager / PLC Manager (7 replies, posted in Scripts)
i will do it the next days
14 2026-02-07 16:47:20
Topic: SPS Manager / PLC Manager (7 replies, posted in Scripts)
Da es mir zu aufwändig war alle Datenpunkte händisch einzeln in die Elemente zu schreiben, habe ich mir dafür ein Skript geschrieben.
Das Vorgehen ist wie folgt:
Zuerst werden alle IO-Module angelegt.
Hierbei muss direkt die Seitennummern vergeben werden.
Dann kann man das Skript starten und die qet Datei auswählen. Danach werden die entsprechenden Seiten eingegeben und geladen.
Hierbei müssen meine Bauteile verwendet werden bzw. die Variablen die ich in meinen Bauteilen nutze.
Danach kann man die Informationen wie Funktion, Adresse etc direkt aus der xlsx Datei in den Manager kopieren. Diese werden mit einem klick auf Übernehmen in die QET datei geschrieben.
Since it was too time-consuming for me to write all the data points into the elements manually, I wrote a script for this purpose.
The procedure is as follows:
First, all IO modules are created.
The page numbers must be assigned directly.
Then you can start the script and select the qet file. After that, the corresponding pages are entered and loaded.
My components must be used here, or rather the variables that I use in my components.
Then you can copy information such as function, address, etc. directly from the xlsx file into the manager. These are written to the QET file by clicking on Apply.
Translated with DeepL.com (free version)
15 2026-02-07 16:40:16
Re: script edition nomemclature (9 replies, posted in Scripts)
very nice i was thinking about the same. thank u
I will translate it into german and share it with u
16 2026-02-06 22:54:27
Re: Rockwell/AB example (1 replies, posted in EN : Help, suggestions, discussions, ...)
So what's your Problem?
17 2026-02-03 08:28:03
Re: conductor cross is does not move when layout changes (2 replies, posted in EN : Help, suggestions, discussions, ...)
Yes, that's the wrong way to do it.
The connection is not automatically broken and reconnected when you place the cross.
You first have to place the cross, then connect the cross to the opener, then connect the cross to the motor, etc.
Or delete the existing connection and then reconnect. The automatic connection feature is also very helpful here.
18 2026-02-02 12:02:51
Topic: Anzahl Slaveelemnte definieren / Define number of slave elements (0 replies, posted in Code)
Guten Tag zusammen,
Mich stört schon lange, dass man bei Qelectrotech ein Masterelement mit unendlich vielen Slaveelementen verbinden kann.
Jetzt hatte ich eine Idee, wie man dies ändern könnte ohne die bisherige Logik großartig zu ändern.
Im Bauteileditor wird unter Bauteileigenschaften in dem Reiter Typ eine Checkbox hinzugefügt. Diese heißt z.B. "max Anzahl Slaveelemente definieren".
Wenn diese nicht angeklickt ist, bleibt alles wie es ist.
Sollte diese angeklickt sein, wird dann eine Textbox darunter freigeschaltet in der man die Anzahl defnieren kann.
Als nächstes wird das bisherige Auswahlfenster um einen Reiter z.B. "volle Masterelemente" erweitert.
Nun wird geprüft ob bei den Masterelementen, bei denen die maximale Anzahl definiert ist, die Verbindungen mit Slaveelementen kleiner als die maximale Anzahl ist.
Ist dies der Fall bleibt alles wie es ist.
Wenn die Anzahl der Verbindungen gleich der maximalen Anzahl ist, wird das Masterelement in den neuen Reiter verschoben und eine Verbindung damit ist nicht mehr möglich. Dies wäre sehr hilfreich, um ein Masterelement nicht mit mehr Slaveelementen zu verbinden als dies in der Wirklichkeit möglich ist und das Auswahlfenster wird bereinigter, da dort nicht mehr so viele Einträge sind, was das Arbeiten leichter macht.
Was haltet ihr von der Idee? Wenn ihr sagt, dass diese sinnvoll und gut ist, würde ich versuchen diese in den nächsten Monaten so wie ich Zeit habe mithilfe von Chatgpt umzusetzen.
Translate:
Hello everyone,
It has long bothered me that Qelectrotech allows you to connect one master element to an infinite number of slave elements.
Now I have an idea how this could be changed without significantly altering the existing logic.
A checkbox is added to the Component Properties tab in the Component Editor. This is called, for example, “Define max number of slave elements.”
If this is not checked, everything remains as it is.
If it is checked, a text box is activated below where you can define the number.
Next, the existing selection window is expanded to include a tab, e.g., “Full master elements.”
Now, the system checks whether the connections to slave elements are less than the maximum number for the master elements for which the maximum number is defined.
If this is the case, everything remains as it is.
If the number of connections is equal to the maximum number, the master element is moved to the new tab and a connection with it is no longer possible. This would be very helpful in order to prevent a master element from being connected to more slave elements than is actually possible, and the selection window would be tidier as there would no longer be so many entries, which would make working easier.
What do you think of the idea? If you say it makes sense and is good, I would try to implement it in the next few months as I have time with the help of ChatGPT.
Translated with DeepL.com (free version)
19 2026-01-24 14:24:53
Re: Folien Titel in BMK Label Formel? (1 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
%F müsste eigentlich die richtige Variable sein, also ohne die Klammern.
20 2026-01-20 22:06:33
Re: Zusatzfunktionen (5 replies, posted in Scripts)
Ich habe meine Zusatzfunktionen geupdated.
funktionelle Updates:
1. Änderung: Ich habe den Verdrahtungsplan von hier https://qelectrotech.org/forum/viewtopic.php?id=3096 direkt integriert.
2. Änderung: Die Kabelliste findet als Ziel nun auch Slave-Elemente.
optische Updates:
Klemmenplan und Kabelliste sehen nun optisch ansprechender aus.
Bilder sind angehangen.
Für die Überschrift in der Spalte oben, muss in den Projekteigenschaften unter Benutzer-Eigenschaften die Rubrik projekt angelegt sein.
Für den Klemmenplan habe ich die Variablen Bestellnummer und Lieferant benutzt um diese automatisiert einzutragen.
Eine Beispielseite ist angehangen.
English:
I have updated my additional functions.
Functional updates:
1st change: I have directly integrated the wiring diagram from here https://qelectrotech.org/forum/viewtopic.php?id=3096.
2. Change: The cable list now also finds slave elements as targets.
Visual updates:
The terminal diagram and cable list now look more visually appealing.
Images are attached.
For the heading in the column at the top, the project category must be created in the project properties under user properties.
For the terminal diagram, I used the variables Order Number and Supplier to enter these automatically.
A sample page is attached.
Translated with DeepL.com (free version)
21 2026-01-17 18:20:24
Re: Templates Import (4 replies, posted in Scripts)
Hallo Kellermorph,
ich habe die scripte ausprobiert, sie sollten zusammengefasst werden.
Auserdem musste ich feststellen, das das Einfügen der Seite nur funktioniert, wenn der gleiche Zeichnungskopf eingestellt ist.
Andernfalls wurde meine Test-Kopie total zerschossen!Bitte beachten, wer das ausprobieren will.
Das zusammenfassen sollte kein Problem sein. Allerdings arbeite ich generell nicht mehr mit dem Programm. Ich versuche gerade einen anderen Weg aus.
Du meinst, dass der gleiche Zeichnungskopf der beim erstellen des Makros im Projekt eingestellt war und wenn dann in dem Projekt ein anderer eingestellt ist?
Das sollte generell auch behebar sein.
22 2026-01-16 14:16:19
Re: Templates Import (4 replies, posted in Scripts)
Mahlzeit.
Entschuldige, ich habe deine Nachricht bisher übersehen.
Ich habe mir schon ein kleines Pythonskript geschrieben, dass ich zum extrahieren verwende. So kann man eindeutig komfortabler die Seiten extrahieren. Ist im Anhang.
Das mit dem generellen Config ist eine gute Idee. Dann muss man dies nicht immer neu machen.
Ich habe im Moment noch einiges anderes zu machen.
Wenn ich dafür mal Zeit überhabe, kann ich das mal machen.
23 2026-01-15 21:13:30
Topic: Verdrahtungsplan / wiring diagram (0 replies, posted in Scripts)
Ich habe ein Python-Skript geschrieben, welches aus der .qet Datei die Verbindung, den Anschluss und deren Eigenschaften extrahiert.
Dies funktioniert auch Seiten übergreifend.
Man muss hier nur darauf achten, dass die Verbindungen so gezogen sind, wie sie nachher im Schaltschrank angeschlossen werden.
Als Beispiel:
Man kommt von einem Querverweis. Dieser geht auf das erste Bauteil. Von dem ersten Bauteil geht man dann zum zweiten Bauteil. Vom zweiten Bauteil geht man dann zum dritten Bauteil und vom dritten Bauteil zum Querverweis zur nächsten Seite. Dies ist nötig, damit die Verbindungen in die .qet Datei richtig geschrieben werden.
Optional kann man aktivieren, dass man eine CSV als Debugausgabe sowie eine CSV bekommt, die angibt, welche Verbindungen rausgefiltert wurden, da diese als doppelt erkannt wurden.
Die ausgegebene Datei wird an dem Ort, an dem die QET Datei liegt gespeichert.
Sollte der Wunsch bestehen, diese Funktion direkt in QET zu implementieren, kann ich versuchen hieraus eine C++ Datei zu erstellen.
English:
I wrote a Python script that extracts the connection, port, and their properties from the .qet file.
This also works across pages.
You just have to make sure that the connections are drawn the way they will be connected in the control cabinet.
For example:
You come from a cross-reference. This goes to the first component. From the first component, you then go to the second component. From the second component, you then go to the third component and from the third component to the cross-reference to the next page. This is necessary so that the connections are written correctly in the .qet file.
Optionally, you can enable the option to receive a CSV as debug output and a CSV that specifies which connections have been filtered out because they were recognized as duplicates.
The output file is saved in the location where the QET file is located.
If you would like to implement this function directly in QET, I can try to create a C++ file from this.
Translated with DeepL.com (free version)
24 2026-01-15 15:33:51
Re: Durchgehender Strich bei gestrichelter und strich-punkt Linie (5 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
ah good to know, that left and right helps too. i just moved up and down. Thanks a lot!
25 2026-01-15 15:04:04
Re: Durchgehender Strich bei gestrichelter und strich-punkt Linie (5 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
Thank you for your reply, but I don't find your solution very appealing visually.
However, I have found a solution.
You have to move the lines up or down a little so that they have the same grid and therefore look identical. Image attached.
