I want to use the checkbox to achieve a very simple function: when sta1 checkbox is selected, the load will go to sta1 if sta 2 checkbox is seleceted the load will go to sta2.
When I click the reset botton, I want to clear all the connectors so that I can choose again.
I wrote the connector in the init method, but don't know how to delete them when Reset.
Solved! Go to Solution.
I added a method to your model which can be used for deleting the connectors.
Hope this helps.