Houdini Engine 6.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Loading a Hip File

To load a HIP file into Houdini Engine:

  1. Call HAPI_LoadHIPFile().
  2. Get the /obj/ manager node using HAPI_GetManagerNodeId().
  3. Get all the nodes in the main /obj/ network using HAPI_ComposeChildNodeList() and HAPI_GetComposedChildNodeList().
  4. If you called HAPI_LoadHIPFile() with cook_on_load set to false you will need to iterate through the nodes and call HAPI_CookNode() on each.
  5. Nodes loaded this way will behave exactly the same as nodes created via HAPI_CreateNode().

Note that this method will merge the HIP file into the scene. This means that any registered hou.hipFile event callbacks will be triggered with the hou.hipFileEventType.BeforeMerge and hou.hipFileEventType.AfterMerge events.