tik_manager4.dcc.nuke.main ========================== .. py:module:: tik_manager4.dcc.nuke.main .. autoapi-nested-parse:: Main module for Nuke DCC integration. Attributes ---------- .. autoapisummary:: tik_manager4.dcc.nuke.main.LOG Classes ------- .. autoapisummary:: tik_manager4.dcc.nuke.main.Dcc Module Contents --------------- .. py:class:: Dcc Bases: :py:obj:`tik_manager4.dcc.main_core.MainCore` Nuke DCC class. .. py:method:: generate_thumbnail(file_path, width, height) Generate a thumbnail for the current scene. .. py:method:: get_current_frame() :staticmethod: Get the current frame. .. py:method:: get_dcc_version() :staticmethod: Get the current nuke version. .. py:method:: get_main_window() :staticmethod: Get the main window. .. py:method:: get_ranges() :staticmethod: Get the frame ranges. .. py:method:: get_scene_file() :staticmethod: Get the current scene file. .. py:method:: is_modified() :staticmethod: Check if the current scene is modified. .. py:method:: open(file_path, force=True, **extra_arguments) :staticmethod: 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 .. py:method:: save_as(file_path) :staticmethod: 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 .. py:method:: save_prompt() :staticmethod: Pop up the save prompt and wait for user action. .. py:method:: save_scene() :staticmethod: Save the current nuke script. .. py:method:: save_selection(file_path) :staticmethod: Save (Export) the current selection to the given file path. .. py:method:: set_project(file_path) :staticmethod: Sets the project to the given path Args: file_path: (String) File path to set as project Returns: None .. py:method:: set_ranges(range_list) :staticmethod: Set the frame ranges. .. py:attribute:: extensions .. py:attribute:: extracts .. py:attribute:: formats .. py:attribute:: ingests .. py:attribute:: name :value: 'Nuke' .. py:attribute:: preview_enabled :value: False .. py:attribute:: save_selection_enabled :value: True .. py:attribute:: validations .. py:data:: LOG