More than one part from HAPI_GetDisplayGeoInfo?

   3940   1   0
User Avatar
Member
13 posts
Joined: June 2018
Offline
How can you control the number of parts as well as what is contained in each part from an HDA?

Right now we have an HDA that uses a merge to combine a point cloud and some geometry. When we call HAPI_GetDisplayGeoInfo it only results in one part which appears to be just the geo (not including the point clouds.)

If I export the scene as a HIP, I can see both the point cloud and geo in the viewport as well as the spreadsheet.
User Avatar
Member
23 posts
Joined: April 2013
Offline
Link to the parts documentation. [www.sidefx.com]


It's been a while since I touched this, but you'll need to create primitive groups to do it. So one for the geometry itself, and another for the point cloud. Then you should be able to iterate through the parts and determine which is the geo and which is the point cloud.
  • Quick Links