Skip to main content

A unique identifier library for Nuke

Project description

https://img.shields.io/pypi/l/nukeuuid.svg https://img.shields.io/pypi/pyversions/nukeuuid.svg https://img.shields.io/pypi/v/nukeuuid.svg https://img.shields.io/pypi/wheel/nukeuuid.svg https://readthedocs.org/projects/nukeuuid/badge/?version=latest

A unique identifier library for Nuke. UUIDs are stored on nodes and therefore persist Nuke sessions. UUIDs can be used to track nodes throughout the compositing process.

Full Documentation

Installation

To install nukeuuid, type:

$ pip install nukeuuid

Open Nuke’s init.py file and add:

nuke.pluginAddPath('/path/to/your/local/python/site-packages')

Getting Started

To get started with nukeuuid, type in the Nuke Script Editor:

import nukeuuid

Define a dictionary of UUIDs to be set, with the keys defining the UUID name and the values defining the UUID values.

kw = {'': 'fca7201e-b53d-4918-9ab0-bb4ec5590f3c',
      'utility': '5f2d525d-3e00-4bc5-88c4-794ad87f5699'}

To create and set the UUID attributes on a node (or a list of nodes), type:

nukeuuid.set(node, **kw)

To retrieve all nodes matching a specific UUID pattern, type:

kw = {'': 'fca7201e-b53d-4918-9ab0-bb4ec5590f3c',
      'utility': '5f2d525d-3e00-4bc5-88c4-794ad87f5699'}
matched_nodes = nukeuuid.get_nodes(**kw)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nukeuuid, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size nukeuuid-0.1.2-py2-none-any.whl (5.6 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size nukeuuid-0.1.2.tar.gz (11.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page