Hi @kiteboardshaper
I’m afraid we need more details to understand what is going on. Is this something you can repeat on a sample piece of code? I can imagine you don’t want to share the source code of your plugins, but if you do I m happy to try reproducing the issue.
I installed KaroroCam, and when I run it (many missing plugins btw that you depend on) I get a browser window. When I close it and run it again I get a message that the program is already running. I assume that is the issue you are having?
What code do you run when the user closes the window?
Maybe @AndyPayne or @kike have an idea, as apparently there have been made some changes because of grasshopper player leaving behind display objects.
The message you get when you close the UI window gives the option to re open the UI window or close Rhino completely - this avoids the issue of the UI being closed but the plugin still running/showing in the Rhino doc.
This breaking change smells A LOT like a fix has been done to kill off GH player geo still showing in the Rhino UI - unfortunately that ‘fix’ kills the running of my plugins.
This is the code that runs when that ETO.Webview window is closed:
def OnClosed(*args):
GO = False
option = rs.MessageBox(""" The KaroroCAM contol window was closed
Did you want to finish your session?
Press YES to close KaroroCAM or NO to return""",324)
if option == 6:
rs.Exit()
if option == 7:
ghenv.Component.ExpireSolution(True)
@kiteboardshaper I’ve logged the issue as RH-84943 Plugin doesn’t run when launched the second time
@kike I don’t think you necessarily need it to see the issue. Once you close that and stay in Rhino, then try to run the tool again, you’ll get a message that the tool is already running, and the dialog will not pop up again.
@kiteboardshaper I am sending you the latest dujour of 8.14. I’m not sure if the tool now works as expected (but I do see a change in behavior). Could you test and report back?
thanks.
Thanks, those components are from the Bengesht GH plugin and are the local server driving HTTP to the ETO.Webview window:
Its FINE tho - your picture shows that the preview geometry is showing up, which shows the rest of the code is actually working. I was getting a complete failure on the earlier SRC14 version.
@Gijs I’m just downloading the version on your link now and will report back soon.