Alembic + String Array Attribute

   1615   0   0
User Avatar
Member
8 posts
Joined: 1月 2017
Offline
Is there a way to (properly) read alembic files with string array attributes without using “Load Houdini Geometry” in the Alembic SOP?

I'd prefer to use “Unpack Alembic Delayed Load Primitives”, but doing so imports my string array incorrectly. I only get one index per unique array element.

Let's say my Alembic object has a string array with 9 elements:

['hello', 'world', 'hello', 'hello', '', '', 'houdini', 'sidefx', 'houdini']

If I load this in Houdini with “Unpack Alembic Delayed Load Primitives”, I get a fixed-length string attribute, 5str:
['hello', 'world', '', 'houdini', 'sidefx']

It works fine with “Load Houdini Geometry”, I get all 9 elements matching the original array.

Any ideas?
Edited by marvolo - 2017年5月16日 09:48:11
  • Quick Links