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 | |
install()
Installing all requirements for Nuke host
Source code in client/ayon_flame/api/pipeline.py
48 49 50 | |
imprint(item, data=None)
Adding AYON data to Flame timeline segment.
Also including publish attribute into tag.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item | flame.PySegment | flame.PyClip) | flame api object | required |
data | dict | Any data which needst to be imprinted | None |
Examples:
data = { 'asset': 'sq020sh0280', 'productType': 'render', 'productName': 'productMain' }
Source code in client/ayon_flame/api/pipeline.py
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | |
list_instances()
List all created instances from current workfile.
Source code in client/ayon_flame/api/pipeline.py
152 153 154 155 | |
ls()
List available containers.
Source code in client/ayon_flame/api/pipeline.py
115 116 117 118 | |
on_pyblish_instance_toggled(instance, old_value, new_value)
Toggle node passthrough states on instance toggles.
Source code in client/ayon_flame/api/pipeline.py
135 136 137 138 139 | |
parse_container(tl_segment, validate=True)
Return container data from timeline_item's AYON tag.
Source code in client/ayon_flame/api/pipeline.py
121 122 123 124 125 | |
remove_instance(instance)
Remove instance marker from track item.
Source code in client/ayon_flame/api/pipeline.py
146 147 148 149 | |
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
128 129 130 131 132 | |