API samples/documentation/tutorials for PDG?
6002 4 1- LithLoren
- Member
- 13 posts
- Joined: 6月 2018
- Offline
- seelan
- Member
- 571 posts
- Joined: 5月 2017
- Offline
Currently, there isn't any documentation for HAPI PDG integration yet, but a good reference would be the Houdini Engine for Unity plugin. You can take a look at the relevant source files here: https://github.com/sideeffects/HoudiniEngineForUnity/tree/Houdini17.5/Plugins/HoudiniEngineUnity/Scripts/PDG [github.com]
Here is a list of the PDG-specific APIs in HAPI:
Here is a list of the PDG-specific APIs in HAPI:
// Query PDG state: HAPI_GetPDGGraphContexts HAPI_GetPDGEvents HAPI_GetPDGState // Manage PDG cook: HAPI_CookPDG HAPI_DirtyPDGNode HAPI_PausePDGCook HAPI_CancelPDGCook // Manage work items: HAPI_CreateWorkitem HAPI_GetWorkitemInfo HAPI_GetNumWorkitems HAPI_GetWorkitems HAPI_CommitWorkitems // Set work item data: HAPI_SetWorkitemIntData HAPI_SetWorkitemFloatData HAPI_SetWorkitemStringData // Query work item data: HAPI_GetWorkitemDataLength HAPI_GetWorkitemIntData HAPI_GetWorkitemFloatData HAPI_GetWorkitemStringData HAPI_GetWorkitemResultInfo
- tstex
- Member
- 454 posts
- Joined: 7月 2005
- Offline
- seelan
- Member
- 571 posts
- Joined: 5月 2017
- Offline
The PDG python api is here: https://www.sidefx.com/docs/houdini/tops/pdg/index.html [www.sidefx.com]
- seelan
- Member
- 571 posts
- Joined: 5月 2017
- Offline
Also, we updated the docs for HAPI PDG integration for Houdini 18: https://www.sidefx.com/docs/hengine/_h_a_p_i__p_d_g.html [www.sidefx.com]
-
- Quick Links