mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
15 lines
291 B
Python
15 lines
291 B
Python
import nuke
|
|
import pyblish.api
|
|
|
|
|
|
class ExtractScriptSave(pyblish.api.Extractor):
|
|
"""
|
|
"""
|
|
label = 'Script Save'
|
|
order = pyblish.api.Extractor.order - 0.45
|
|
hosts = ['nuke']
|
|
|
|
def process(self, instance):
|
|
|
|
self.log.info('saving script')
|
|
nuke.scriptSave()
|