artellapipe.libs.alembic.core.alembic module

Module that contains utilities functions to work with Alembics

class artellapipe.libs.alembic.core.alembic.AbstractAlembic

Bases: object

export_alembic(*args, **kwargs)

Exports Alembic file with given attributes

import_alembic(alembic_file, mode='import', nodes=None, parent=None, fix_path=False, namespace=None, reference=False)

Imports Alembic into current DCC scene

Parameters
  • alembic_file (str) – file we want to load

  • mode (str) – mode we want to use to import the Alembic File

  • nodes (list(str)) – optional list of nodes to import

  • parent

  • fix_path – bool, whether to fix path or not

  • namespace – str

  • reference – bool, whether to fix path or not

Returns

load_alembic_plugin()

Forces the loading of the Alembic plugin if it is not already loaded