Learn about how things happen in Pyblish.
There are three ways in which a plug-in is associated with a particular set of data.
- 1.By availability
- 2.By host
- 3.By family
Availability is determined by registering a given plug-in to Pyblish, for example by calling register_plugin_path(). Once a plug-in is made available, it must also match the currently running host.
hosts = ["maya"]
If the host matches, a plug-in is put to the final test; it's supported families.
families = ["myFamily"]
These data members are included.
Current working file
Higher-level directory of current file
Currently logged on user
Current working directory (of Python interpreter)
context = pyblish.util.collect()