Are Rhino licenses assigned per instance of Rhino or per machine when using the Rhino Zoo

I’m using a lot of

RhinoDoc doc = RhinoDoc.CreateHeadless(null);

for some Unit Tests and when I run all of them I get a lot of RhinoNotLicensedException. And currently the title of this post is what I’m assuming could be the problem.

Hi @csykes,

The LAN Zoo assigns licenses per computer/user. If the computer/user launches Rhino more than once, just one license is used.

The Cloud Zoo assigns licenses per logged in user. If the logged in user launches Rhino more than once, just one license is used.

– Dale

Thanks @dale,

Is there any reason why this exception might be raised by creating a lot of headless rhino docs? Apologies that this is quite a broad question.

– Callum

Can you provide me a simple way to repeat what you see?

– Dale

I will see if I can strip the whole project down to exactly that. It should help me see if that is the core issue too.