- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Based on the help listed in AbcExport -h, it seems using the -sl and -root flags in combination would allow me to export a hierarchy but exclude some nodes. (The use case is exporting the geo of an animated character but excluding the rig while maintaining the hierarchy).
However, when I re-import the .abc file back into Maya, the hierarchy is there, but the actual geometry is missing.
Here is MEL that reproduces the issue.
polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1;
doGroup 0 1 1;
rename "group1" "geo";
spaceLocator -p 0 0 0;
doGroup 0 1 1;
rename "group1" "rig";
select -r geo rig ;
doGroup 0 1 1;
rename "group1" "assetRoot";
select -r assetRoot geo pSphere1;
AbcExport -j "-frameRange 1001 1001 -sl -dataFormat ogawa -root assetRoot -file C:/trying_alembic_geo_no_rig.abc";
After re-importing this alembic file, pSphere1 isn't there, but the rest of the hierarchy that was selected during export is present.
Is this not working correctly or am I misunderstanding the AbcExport flags?
Thanks so much,
Paul
Solved! Go to Solution.