smartLinker main window

The smartlinker window is the main control point in smartLink. It provides functionality to browse and create links, jump to these links and their source node inside the node graph and edit the smartLink settings.

When opening the smartLinker in a new Nuke script that doesn’t contain any nodes, it will look like the following:

_images/smartlinker2.jpg

The smartlinker contains multiple elements:

  • 1) Classes: Click for filtering by class, showing all classes or the favorites. Right click one of these buttons to edit the classes list.
  • 2) Search: Type in the first characters to search for a specific node. This will consider node names, the file names (if available) and the label values (if available).
  • 3) Reload: Click to reload the Links table.
  • 4) Close: Click to close the smartLinker.
  • 5) Node table: Contains all nodes of the currently selected class.
  • 6) Settings: Click to open the settings.
  • 7) Layout: Click to toggle between horizontal- and vertical layout.
  • 8) Resize: Adjust the size of the smartLinker. The size will be remembered.

All of those elements will be discussed in more detail in the following sections.

Working with the smartLinker

Let’s open a Nukescript that contains some nodes to learn how the smartLinker works. Our example Nuke script contains three read nodes, a few Camera nodes, a few ReadGeo nodes and multiple other nodes.

The smartLinker will then look something like this:

_images/smartlinker_reads.png

As we have set the current class to Read, it will collect all Read nodes in our nodegraph and display them in the middle of the smartLinker window.

Filtering classes

By clicking one of the class buttons at the top of the smartLinker window, we can switch between classes and solo the nodes of the selected class.

For instance, let’s click the Camera2 button to show only Camera nodes that are in our node graph:

_images/smartlinker_camera.png

When clicking the All Button, all nodes of all three classes will be listed:

_images/smartlinker_all.png

If you click the star icon, then smartLink will show the favorites. For more information about favorites, please have a look at the Favorites section.

The currently selected class gets remembered, even after closing smartLink, quitting Nuke and restarting your machine.

Editing classes

By default, smartLink shows only Read, ReadGeo and Camera nodes. Keep in mind, that it will also just display these class buttons if at least on node of these classes is included in your nodegraph.

You can however change this list to your needs and update the order being show on the fly. To do so, simply click one of the class buttons and choose “edit” from the context menu:

_images/edit_classes.jpg

An input field shows up in which you can add new node classes and update the classes order. Separate the node classes by a comma.

_images/edit_classes_input.jpg

Attention: Please keep in mind to use the Nuke internal node classes in here, meaning e.g. Camera2 and not Camera and Merge2 and not Merge. In order to get the node class of any node simply create the node in the node graph and press the I key. The upcoming info window shows the actual node class as seen below:

_images/node_class_info.jpg

Favorites

The favorites tab (star icon) shows you all favorites of your current Nukescript. This feature lets you quickly navigate between your favorite nodes and create links for them. Think of this as a bookmark system for all your nodes that you would like to access quickly. Your favorites will be stored directly inside your Nuke script. That means you can version up your Nuke script or save it to a different location with a different name and remain all your favorites.

In case you don’t see the favorites tab, switch to the settings section and make sure that the checkbox Enable favorites is activated.

Adding Favorites

You can add any node of your nodegraph to the favorites list. Let’s click the star icon to navigate to the favorites tab:

_images/favorites_startup.jpg

To add the selected node(s) to the favorites list you have mutliple options:

  • Press Alt+L. This shortcut can be modified in the Shortcut Editor.
  • Navigate to you menubar and execute the command Cragl -> smartLink -> Add selection to favorites.
  • Click the + button in the favorites table.

The selected nodes (in this case we selected a ScanlineRender node and a Write node) will be added to our favorites.

_images/favorites_added_nodes.jpg

You can also favorite any node that is already included in one of your classes sections. To do so, right click any node and choose Add to favorites.

_images/favorites_node_context.jpg

Removing Favorites

To remove a favorite from the table, simply right click it and choose Remove from favorites.

_images/remove_from_favorites.jpg

smartLink proves a self contained cleanup: A node will also be removed from the table if it doesn’t exist anymore inside the node graph.

Tinting nodes

Each node of the links table contains a specific color that gets driven by the color of the source node. This will either be the default node color or the custom color, in case you have set it. smartLink offers the functionality to change the color in the table, the node and all links in one go. This will let you find important nodes easier.

Let’s for instance change the color for our Read2 node.

_images/tint_startup.jpg

In order to do so, let’s hover over the Read2 node in the smartLinker table and choose Tint -> Set from the context menu.

_images/tint_set.jpg

In the upcoming color window, let’s choose a light blue color.

_images/tint_colorpicker.jpg

The node in the table, the actual source node, as well as all links will be tinted with our chosen color.

_images/tinted.jpg

Switching layouts

smartLink provides two layouts: a horizontal- and a vertical layout. By default, it uses the horizontal layout. However, you can change the layout to your needs. To do so, simply click the layout button at the bottom left of the smartLinker window.

_images/layout_toggle.jpg

After clicking it, the smartLinker will change to a vertical layout.

_images/vertical_layout.jpg

Clicking the layout button in the bottom left again will revert back to the horizontal layout. The layout will be remembered, ever after closing the smartLinker, relaunching Nuke and restarting your machine.