Amazon VERSION 2.0V1 Guía de usuario Pagina 124

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 123
124
Adding Importomatic Items Using a Script
Using the Alembic module as a reference, adding a new Alembic item in the Importomatic is achieved by registering
the callback:
ImportomaticAPI.AssetModule.RegisterCreateCallback( 'Add Alembic', AddAlembicGeometry)
where the menu option Add Alembic is added, which calls AddAlembicGeometry when selected.
The function AddAlembicGeometry can be called from a script in order to automate the population of Alembic files
but the node it returns has to be inserted into the output merge of the Importomatic, which is something the caller
does for you in the callback case above.
This is achieved using the insertNodeIntoOutputMerge function:
importomaticNode.insertNodeIntoOutputMerge( returnedNode, 'default' )
where the node is connected to the default port.
16 CREATING NEW IMPORTOMATIC MODULES | CUSTOM HIERARCHY STRUCTURES AND EXTENSIONS
Vista de pagina 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 263 264

Comentarios a estos manuales

Sin comentarios