CVEI III
As a final note - CVEI is a convention for which order to pick for a typical task.
The advantage of using these particular orders isn't as much functional as it is conventional. In fact, the order you assign is just an integer value.
1
import pyblish.api
2
3
class MyValidator(pyblish.api.ContextPlugin):
4
order = pyblish.api.ValidatorOrder # == 1
Copied!
The benefits of sticking with CVEI are two-fold.
  1. 1.
    The ordering provides a common language with which to discuss publishing.
  2. 2.
    And under the hood, they allow Pyblish to make assumptions about your plug-ins, such as when to abort.
This language fuels our community, and the assumptions are what fuels the mechanics of Pyblish.
With this in mind, saving plug-ins are typically named after what they are.
1
plugins
2
├── collect_my_assets.py
3
├── validate_normals.py
4
├── extract_alembic.py
5
└── integrate_ftrack.py
Copied!
Last modified 2yr ago
Copy link