Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Disabling text field can be used e.g. when trying to make an “on/off switch” between 0 and 1, otherwise the text field is needed for showing the set value.

...

Target Key is the key in Context which will contain the value which was selected by the slider at the time the image was processed. You can then work with this value in Code where you access it with (if target key is set to ‘input3’):

...

When you finish configuring your operator view in Editor, you can go back to Camera tab and select Operator View > Open operator View, then a window like this will open (of course with elements as you defined them in Editor) and the operator can start interacting with it:

...

Info

For images you saved (when you had ‘Save images’ enabled or you ‘Captured' the image while the Operator View was running) you can see the operator inputs at that time in the Inspection tab under 'operatorInput’ key, which is a dictionary containing key-value pairs for all your inputs/selects/sliders.

If you set some dynamic label, you can see the value of its context key (if you set its value in code) at that time under the context key name you selected, so e.g. 'label_key' in this example.

If you set visibility by key for some element and you set its value in code, you will see it here too under the name you selected for the key so e.g. ‘visibility_key’ in this example.

...