bs_abc

bs_abc.commitChanges(obj)
bs_abc.export(obj, abcFile='', start=None, end=None)
bs_abc.fixCurve(curve)
bs_abc.getAbcInfo(obj)

Returns any of the following: [‘reference’, root, abcFilePath, startFrame, endFrame, speed, offset] in case if ‘obj’ is a group or object references abc file. [‘assembly’] in case if ‘obj’ is a group without ast but all its members are of bs_alembic(s) with bs_tags [‘mixed’, alembics[], nonAlembics[] ] in case if ‘obj’ a group of mixed bs_alembics and non-alembics when all have bs_tags [‘component’, nonAlembics[] ] in case if ‘obj’ is an object or a group of non alembics objects, those objects are returned. False in case if ‘obj’ is not a valid bs_pipeline object with bs_tags

bs_abc.getAbcNodes(obj)

Returns a list of all bs_alembicNode(s) under the given xform or object

bs_abc.getAbcObjects(abcNode, all_nodes=False)
Parameters:
  • abcNode – nrAlembic node
  • all_nodes – if True, all transform and shape nodes will be returned
Returns:

The objects connected to the given alembic node, by default this will return only the root assembly transforms

bs_abc.getNrAbcNodes(obj)

Returns a list of all bs_alembicNode(s) under the given xform or object

bs_abc.reimportAbc(obj)