How to extract imported Alembic file contents in Houdini?

   3656   2   1
User Avatar
Member
22 posts
Joined: July 2016
Offline
Hi,

I have imported an Alembic scene into Houdini. The scene contains few groups and meshes. These nodes will be alembic-based nodes with all referencing the imported alembic file. My doubt is: How to extract the full content into Houdini by clearing the FileName attribute in the alembic nodes? It's risky otherwise (in my case) since there is no surety about the existence of the alembic file.

Thanks
Jojan
User Avatar
Member
5 posts
Joined: March 2015
Offline
Drop a geo node on the obj level and pipe the Alembic node into it.
Then go into the geo node and drop in an Alembic SOP node and in the object patch add : `chs(opinputpath(“..”,0)+“/full_path”)`

This should get the Alembic Geo into the SOP level and then you can use a combination of Delete + Group nodes or just use multiple delete nodes to extract objects/meshes/groups. And then convert them.
User Avatar
Member
22 posts
Joined: July 2016
Offline
Hi Ambar,

Thanks for the reply.
Can you also include a sample houdini scene file please?
  • Quick Links