mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
feat(nukestudio): collecting project data from db
This commit is contained in:
parent
2955ba181f
commit
4be7396a61
1 changed files with 16 additions and 0 deletions
16
pype/plugins/global/publish/collect_project_data.py
Normal file
16
pype/plugins/global/publish/collect_project_data.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import pyblish.api
|
||||
import pype.api as pype
|
||||
|
||||
|
||||
|
||||
class CollectProjectData(pyblish.api.ContextPlugin):
|
||||
"""Collecting project data from avalon db"""
|
||||
|
||||
label = "Collect Project Data"
|
||||
order = pyblish.api.CollectorOrder
|
||||
|
||||
def process(self, context):
|
||||
# get project data from avalon db
|
||||
context.data["projectData"] = pype.get_project_data()
|
||||
|
||||
return
|
||||
Loading…
Add table
Add a link
Reference in a new issue