Add attribute to Alembic ( Long name contains invalid characters )

Add attribute to Alembic ( Long name contains invalid characters )

abelvargas
Explorer Explorer
598 Views
1 Reply
Message 1 of 2

Add attribute to Alembic ( Long name contains invalid characters )

abelvargas
Explorer
Explorer

Hello,

 

I need to move my geometry to Katana and to work with instances there I need to add an attribute to the alembic file called 'instance.ID', I already to that with a few other attributes without a problem but Katana needs that dot in this one, specifically.

 

The dot basically means hierarchy, so ID (a string) would be inside the instance attribute.

 

Any way I can either write this attribute with the dot or nest ID inside instance? (I'm not sure the second works but I can give it a try.

 

Here's the line on my code that errors:

 

intanceID = "instance.ID"

shapeName = "The shape name"

mc.setAttr(i+"."+intanceID, shapeName, type="string",e=True, keyable=False, lock=True)

 

Thank you

 

Abel

 

 

0 Likes
599 Views
1 Reply
Reply (1)
Message 2 of 2

jmreinhart
Advisor
Advisor

nest ID inside instance?


That's the right way to do it.