Skip to content

1.0.6

Compare
Choose a tag to compare
@mottosso mottosso released this 22 Jun 15:47
· 42 commits to master since this release

Updated Pyblish QML to 0.2.11

Version 0.2.11

  • Added support for Pyblish RPC 0.1.1
  • Added Instance to log messages.
  • PROBATION SUPPORT for pyblish_qml.settings
  • PROBATION SUPPORT for context.set_data("label")

Instance to log messages

untitled

Settings

untitled

Usage

THE FOLLOWING FEATURES ARE ON PROBATION AND MAY GET PULLED

Customise Context label and Window title.

import pyblish_qml
pyblish_qml.settings.WindowTitle = "My Title"
pyblish_qml.settings.WindowSize = (430, 600)
pyblish_qml.settings.ContextLabel = "The World"

Each setting is applied when the GUI is shown, which means you can change them any time before then, including between subsequent runs.

Alternatively, set context label during processing.

class CollectContextLabel(pyblish.api.Collector):
  def process(self, context):
    context.set_data("label", "The World")

The GUI will read the current label after having processed all collectors. Any change after Collection will not be visible in the GUI.