Maya Exporter: Cannot export 2 objects with the same short name from different hierachies in worldspce

2,281 views
Skip to first unread message

katrin

unread,
Jul 3, 2013, 1:18:32 PM7/3/13
to alembic-d...@googlegroups.com

hi,

a bit surprised i cannot export 2 objects with the same short name from different hierachies

So i am selecting |group1|pSphere1 -root |group2|pSphere1 and get an error.


AbcExport -verbose -j "-fr 1 24 -worldSpace -root |group1|pSphere1 -root |group2|pSphere1 -file /bluesky/design/river/960_PIPELINEEXP/010/maya_data/010/cache/alembic/a.abc";

// 1 //


// Error: Alembic Exception encountered: OSchemaObject::OSchemaObject( OObject )

ERROR: EXCEPTION:

Already have an Object named: pSphere1 //


Lucas Miller

unread,
Jul 3, 2013, 1:27:03 PM7/3/13
to alembic-d...@googlegroups.com
This is because -root |group1|pSphere1  means to make pSphere1 the root of your scene, |group1 will not be added to your scene.

So in this case you are trying to add two objects with the same name (pSphere1) as children of the root.
In Alembic the immediate children of any parent must have unique names.

Lucas



--
You received this message because you are subscribed to the Google Groups "alembic-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

katrin

unread,
Jul 3, 2013, 1:49:40 PM7/3/13
to alembic-d...@googlegroups.com
hi,
this code is generated by the autodesk exporter.
Should i report it to them?

Lucas Miller

unread,
Jul 3, 2013, 1:52:21 PM7/3/13
to alembic-d...@googlegroups.com
Nope, it's not a bug, it is erroring out as intended.

You could do -root |group1 -root |group2  and both of those spheres would export fine since they would no longer be siblings in the Alembic archive.

Lucas


katrin

unread,
Jul 3, 2013, 2:13:42 PM7/3/13
to alembic-d...@googlegroups.com
hi,
OK, i just select sphere1 and sphere2 and use the export selected menu
in maya (world space option). I would expect the roots to be set s you describe below.
We have our own gui so we are not  going to hit this too much.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discussion+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages