pipeline
Basic AYON integration
FlameHost
Bases: HostBase, ILoadHost, IPublishHost
Source code in client/ayon_flame/api/pipeline.py
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 84 | |
get_context_data()
required by IPublishHost
Source code in client/ayon_flame/api/pipeline.py
53 54 55 | |
install()
Install all requirements for Flame host
Source code in client/ayon_flame/api/pipeline.py
49 50 51 | |
update_context_data(data, changes)
required by IPublishHost
Source code in client/ayon_flame/api/pipeline.py
57 58 59 | |
containerise(flame_clip_segment, name, namespace, context, loader=None, data=None)
Containerise a flame clip segment.
Source code in client/ayon_flame/api/pipeline.py
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | |
imprint(item, data=None)
Adding AYON data to Flame timeline segment.
Also including publish attribute into tag.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item | PySegment | PyClip | flame api object | required |
data | dict | Any data which needs to be imprinted | None |
Examples:
data = { 'asset': 'sq020sh0280', 'productType': 'render', 'productName': 'productMain' }
Source code in client/ayon_flame/api/pipeline.py
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | |
list_instances()
List all created instances from current workfile.
Source code in client/ayon_flame/api/pipeline.py
155 156 157 | |
ls()
List available containers.
Source code in client/ayon_flame/api/pipeline.py
132 133 134 135 | |
parse_container(tl_segment, validate=True)
Return container data from timeline_item's AYON tag.
Source code in client/ayon_flame/api/pipeline.py
138 139 140 141 | |
remove_instance(instance)
Remove instance marker from track item.
Source code in client/ayon_flame/api/pipeline.py
150 151 152 | |
update_container(tl_segment, data=None)
Update container data to input timeline_item's AYON tag.
Source code in client/ayon_flame/api/pipeline.py
144 145 146 147 | |