Cancel
Showing results for 
Search instead for 
Did you mean: 

Delete connector when reset

Pioneer
Pioneer

Hi,

 

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. 

 

Capture.JPG

2 REPLIES

Betreff: Delete connector when reset

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello WendyWang,

 

I added a method to your model which can be used for deleting the connectors.

 

Hope this helps.

 

Regards

GG

Regards
GG

------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution

Betreff: Delete connector when reset

Pioneer
Pioneer
Wow! It helps a lot. Thank you GG!