Topic: Anzahl Slaveelemnte definieren / Define number of slave elements

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)