Tomáš Pastýřík

TomPastk

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Releasing the license of houdini engine from HAPI March 25, 2019, 11:45 a.m.

Thanks seelan, this is helpful! I have also got inspired by your unity plugin and got it working.

Releasing the license of houdini engine from HAPI March 25, 2019, 10:02 a.m.

I see, thank you. Can you please point me to an example? I have not found it in the docs.

Releasing the license of houdini engine from HAPI March 25, 2019, 4:39 a.m.

Hi,

that is exactly what I thought should be and what I tried, yet it does not work. After we are done with Houdini, we are
  • deleting all nodes using HAPI_DeleteNode
  • cleaning up session using HAPI_Cleanup
  • closing session using HAPI_CloseSession

All the above calls return HAPI_RESULT_SUCCESS.

Yet when I check the License Manager, my pc is still listed there (I am refreshing) until I actually kill my app.

And I am afraid that killing the process is currently the only way, I have found this hidden in the HAPI_Initialize() doc here:
https://www.sidefx.com/docs/hengine/_h_a_p_i__fundamentals.html [www.sidefx.com]

The mirror call to HAPI_Initialize() is HAPI_Cleanup(), which will cleanup the scene underneath. Note, HAPI_Cleanup() will not release any licenses acquired by the process. You'll need to restart the process to release the licenses.

Can you confirm this?

Thank you!
Cheers
Tom