Hi all, and thanks for those who responded to my previous script performance post.
Have finally gotten to the bottom of why scripts that should run in seconds were taking 30-60 seconds which I tried uninstalling RhinoCAM.
I queried RhinoCAM and received the following information. I’d hoped they might advised some specifics as I’m sure I’m not the first, but I’m going down the path they have suggested.
Is there a way to Load/Unload the RhinoCAM plugin on the fly, so that Rhino doesn’t have to be restarted? Like most people I often have multiple sessions open, which makes restarting quite a hassle!
Thanks,
Adrian
FROM MECSOFT
RhinoCAM, when loaded and active, resolves its internal database whenever new objects are created in Rhino. So if your script is creating objects constantly it is triggering RhinoCAM to reconstruct its database also. What I would suggest is to turn off RhinoCAM when the script is running and only make RhinoCAM active when it is needed - sort of a on-demand load of RhinoCAM. This could be managed in the Rhino script itself I would think. Rhino support will be able to help with the API calls needed to load and unload plug-ins, which can be used in your cabinet design script.