tik_manager4.dcc.nuke.main

Main module for Nuke DCC integration.

Attributes

LOG

Classes

Dcc

Nuke DCC class.

Module Contents

class Dcc

Bases: tik_manager4.dcc.main_core.MainCore

Nuke DCC class.

generate_thumbnail(file_path, width, height)

Generate a thumbnail for the current scene.

static get_current_frame()

Get the current frame.

static get_dcc_version()

Get the current nuke version.

static get_main_window()

Get the main window.

static get_ranges()

Get the frame ranges.

static get_scene_file()

Get the current scene file.

static is_modified()

Check if the current scene is modified.

static open(file_path, force=True, **extra_arguments)

Opens the given file path Args:

file_path: (String) File path to open force: (Bool) if true any unsaved changes on current scene will be lost

Returns: (String) File path

static save_as(file_path)

Saves the file to the given path Args:

file_path: (String) File path that will be written file_format: (String) File format

Returns: (String) File path

static save_prompt()

Pop up the save prompt and wait for user action.

static save_scene()

Save the current nuke script.

static save_selection(file_path)

Save (Export) the current selection to the given file path.

static set_project(file_path)

Sets the project to the given path Args:

file_path: (String) File path to set as project

Returns: None

static set_ranges(range_list)

Set the frame ranges.

extensions
extracts
formats
ingests
name = 'Nuke'
preview_enabled = False
save_selection_enabled = True
validations
LOG