alembic
Tools for loading looks to vray proxies.
 get_alembic_ids_cache(path) 
 Build a id to node mapping in Alembic file.
Nodes without IDs are ignored.
Returns:
| Name | Type | Description | 
|---|---|---|
| dict | dict | Mapping of id to nodes in the Alembic. | 
Source code in client/ayon_maya/tools/mayalookassigner/alembic.py
 | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |  | 
 get_alembic_paths_by_property(filename, attr, verbose=False) 
 Return attribute value per objects in the Alembic file.
Reads an Alembic archive hierarchy and retrieves the value from the attr properties on the objects.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| filename | str | Full path to Alembic archive to read. | required | 
| attr | str | Id attribute. | required | 
| verbose | bool | Whether to verbosely log missing attributes. | False | 
Returns:
| Name | Type | Description | 
|---|---|---|
| dict | Mapping of node full path with its id | 
Source code in client/ayon_maya/tools/mayalookassigner/alembic.py
 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |  |