Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Close ETO form and cancel script

$
0
0

Hi, I have an ETO form to input data to my script, however if I use the “Cancel” button the ETO form closes but the python script is still active and I have to use the “esc” button to close the script. So how do I close both on the ETO cancel button.

Please keep it simple as straight forward if possible.

    # Close button click handler
    def OnCloseButtonClick(self, sender, e):
        self.Close(False)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles