Nuke Gizmology

=Adding Knobs=
 * 1) Right-click a node and select manage user knobs.
 * 2) click on add and pick the knob you want to add.
 * 3) Depending on the type of knob you can set the characteristics of it. You'll allways need a name which can't have spaces or special characters. The label is the name that will display in the properties tab which can have spaces and special characters.

=Working with layout=

knob position

 * Within the manage user knobs you can click on an element and move it's position around with the up and down buttons.
 * When creating or editing a knob you can check hide which will make the knob invisible. This can be useful when you are working on a new version of a gizmo, but don't want to lose compatibility with an older script.
 * When creating or editing a knob you can check start new line this will make sure the knob is placed below the previous one. If you want a knob to be placed next to the previous one you can uncheck this!

groups

 * Groups can be created like any knob.
 * After creating the group the group name and an endGroup appear in the manage user knobs.
 * The knobs that are supposed to be placed in the group should then be placed in between those two names.

Lines

 * To create a line you can add a divider line in the manage user knobs.
 * If you want a line with a text in front you can make a text and leave the text field empty.

font style
You can put certain commands before the label text to change it's appearance
 * Bold @b;
 * Italic @i;

Images in labels
To add an image to your label you can use the following command:  If the image isn't a local nuke image you have to put the full path in between the quotes. Example: 

text alignment
To change the text alignment you can put one of the following commands at the beginning of you label:
 *   this will center the contents of the label.
 *   this will align the contents of the label to the left.

Editing help
The help can give the user some information about the node. It usually contains the author and the version.

versioning
The version format of nuke is 1.1v1 you can also use something like 1.1.1 versioning of nuke gizmos works in the following way: =User Knobs=
 * The first number increments whenever the gizmo goes through big changes. Like a completely new layout or way of operating.
 * The second number increments whenever the gizmo goes through small changes like adding a few controls.
 * The second number increments whenever the gizmo goes through bug fixes. Fixing small things like typos or doing little improvements that don't change anything about how the node has to be operated.

Python Script Button
nuke.root.end After this you can create nodes in the node graph for example, but the thisNode command doesn't work anymore! nuke.thisNode =Nice Resources=
 * Refer to the node graph and not to the group for executing the python script:
 * Refer to the node on which the button sits.
 * basics