1

Topic: Zusatzfunktionen

Guten Tag zusammen,

ich habe mir 3 extra Funktionen per externen Programm geschrieben.
Die erste Funktion ist die Klemmen aus der .qet Datei auszulesen und neu durch zu nummerieren.
Hierbei werden die Klemmen nach BMK sortiert. Also alles vor dem Doppelpunkt. Dort wird die Sortierung / Nummerierung von vorne Seitenweise vorgenommen und dann erst entlang der X-Achse. Sollten 2 Klemmen die gleiche X-Achse haben, wird die höhere (niedriger Y-Wert) zuerst genommen. Daraus wird dann im Verzeichnis eine neue .qet Datei erstellt.

Die 2. Funktion ist eine Kabelliste erstellen. Hierbei müssen Kabel wie in meiner mit hochgeladenen Datei definiert sein. Hier wird nun jedes Einzelbauteil (simple) mit einem BMK das W drin hat gesucht. Dann werden die Conductor Einträge abgesucht und dort wird nach Y-Wert der Startpunkt und der Zielpunkt festgelegt. Die Ausgabe erfolgt per .csv

Die 3. Funktion ist eine Klemmenliste. Die Vorgehensweise ist ähnlich wie die der Kabelliste, nur dass die Funktionen der Leitungen überprüft werden und wenn es die gleiche ist, wird in einer Spalte bei Brücken ein Punkt gesetzt. Die nächste Funktion wird dementsprechend in die nächste Spalte gesetzt. Auch hier erfolgt die Ausgabe per CSV.

Ich habe 2 Tabellen angehangen, in die man die .csv dann einfach reinkopieren kann. Dann kann man eine PDF erstellen und diese zu einer PNG umwandeln um die in QElectrotech zu integrieren. Die Optik ist nahe der Tabelle von QElectrotech. Eine Beispiel .qet Datei ist auch dabei

Translation:
Hello everyone,

I have written 3 extra functions using an external program.
The first function is to read the terminals from the .qet file and renumber them.
The terminals are sorted according to BMK. So everything before the colon. There the sorting / numbering is done page by page from the front and then along the X-axis. If 2 terminals have the same X-axis, the higher one (lower Y-value) is taken first. A new .qet file is then created from this in the directory.

The 2nd function is to create a cable list. Cables must be defined as in my uploaded file. Each individual component (simple) with a BMK that has W in it is now searched for here. Then the conductor entries are searched and the start point and the target point are defined according to the Y value. The output is via .csv

The 3rd function is a terminal list. The procedure is similar to that of the cable list, except that the functions of the lines are checked and if it is the same, a point is set in a column for bridges. The next function is placed in the next column accordingly. Here too, the output is via CSV.

I have attached 2 tables into which you can simply copy the .csv. Then you can create a PDF and convert it to a PNG to integrate it into QElectrotech. The look is similar to the QElectrotech table. An example .qet file is also included

Translated with DeepL.com (free version)

Post's attachments

Attachment icon Zusatzfunktionen.zip 35.09 mb, 15 downloads since 2025-04-04