nukescripts.readviewscheck

Check for multiple views in files when a read node is created, by looking for a VIEW_NAMES entry in the node’s metadata. Most file types won’t specify views but EXR/SXR and potentially other files may do. Registers for callbacks when a Read node is created, or its ‘file’ knob is changed. If there are multiple views, and they do not exist on the root node, the user is asked if they should be created.

Functions

checkReadNodeViews

Check if a read has multiple views, and if so, ask the user if they want to add them to the root node.

createViews

Add the views in a list to the root node.

getViews

Attempt to get the views from a read node’s metadata.

onReadNodeCreated

Callback when a Read node is created.

onReadNodeKnobChanged

Callback when a Read node knob changes.

Classes

QApplication

QApplication(self, arg__1: typing.List[str])

QMessageBox

QMessageBox(self, parent: PySide2.QtWidgets.QWidget = None)

QTimer