Hi,
Since moving to Rhino 9, a Rhino.Inside session and a running Rhino 9 on the same computer take the licence from each other. With the same licence in Rhino 8 i never experienced this.
Setup
- Rhino 9 SR0 (9.0.26300.09401), Windows 11, .NET 10.0.14
- Licence: Educational, Cloud Zoo (upgraded from my Rhino 8 licence)
- The Rhino.Inside host is a .NET console app used to test my own plug-ins headlessly. RhinoCommon and RhinoCore come from
C:\Program Files\Rhino 9\System\netcore; the plug-ins are built against RhinoCommon 9.0.26300.9401 (net8.0-windows).
What happens
- While I work in Rhino 9, a Rhino.Inside test run starts. Soon after, my Rhino 9 asks whether I want to save and then closes. It doesn’t crash; it behaves like a lost licence.
- Or the other way round: the Rhino.Inside process throws
Rhino.Runtime.NotLicensedExceptionpartway through its run.
What I tested (with Rhino 9 open the whole time)
| Test | Result |
|---|---|
A second normal Rhino 9 window (Rhino.exe /scheme=Test) for 150 s |
Both stay licensed and open |
| A short Rhino.Inside run (~10 s) | Licensed, finishes, Rhino 9 stays open |
| A longer Rhino.Inside run (~60 s, opens documents, runs commands) | Licensed at start, then NotLicensedException partway through; in earlier runs my Rhino 9 closed instead |
The same setup, with the same Rhino.Inside host and plug-ins built for Rhino 8, ran next to an open Rhino 8 for weeks without any licence problem.
Questions
- Is a Rhino.Inside session supposed to share the Cloud Zoo lease with a running Rhino 9 on the same computer, as it did in Rhino 8?
- If this is a change in Rhino 9, is there a supported way for a headless test host to run next to an open Rhino 9 (a flag, a licence mode, or a different start-up for Rhino.Inside)?
Thanks!