Message 1 of 4
How to export a custom attribute on alembic export attached to the actual AlembicNode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I am having a bit of an issue exporting a custom attribute. I add the attribute via
cmds.addAttr("myAttrName")
then set using
cmds.setAttr("myAttrName", myValue)
then finally add the custom flag
-attr myAttrName -userAttr myAttrName
on export using the cmds.AbcExport option. This does export the attribute, but on the geometry for the imported alembic, and not the actual AlembicNode. I would like that attribute to show up on the AlembicNode itself (under the "Extra Attributes" tab) but I can't figure out how to get that to happen. Is there a way to achieve this using the alembic python module, or better yet, within Maya?