tik_manager4.dcc.katana.main ============================ .. py:module:: tik_manager4.dcc.katana.main .. autoapi-nested-parse:: Main module for Katana DCC integration. Attributes ---------- .. autoapisummary:: tik_manager4.dcc.katana.main.LOG Classes ------- .. autoapisummary:: tik_manager4.dcc.katana.main.Dcc Module Contents --------------- .. py:class:: Dcc Bases: :py:obj:`tik_manager4.dcc.main_core.MainCore` Katana DCC class. .. py:method:: generate_thumbnail(file_path, width, height) Generate a thumbnail for the given file path. .. py:method:: get_current_frame() :staticmethod: Return the current frame .. py:method:: get_dcc_version() :staticmethod: Return the version of the DCC. .. py:method:: get_main_window() :staticmethod: Get the memory adress of the main window to connect Qt dialog to it. Returns: (long or int) Memory Adress .. py:method:: get_ranges() :staticmethod: Get the viewport ranges. .. py:method:: get_scene_file() :staticmethod: Return the current scene file .. py:method:: get_tik_manager_dialogs() :staticmethod: .. py:method:: get_tik_manager_main_ui() :staticmethod: Return the main Tik Manager UI. .. py:method:: is_modified() :staticmethod: Returns True if the scene has unsaved changes .. py:method:: open(file_path, **_extra_arguments) :staticmethod: Open 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 **extra_arguments: Compatibility arguments for other DCCs Returns: None .. py:method:: save_as(file_path) :staticmethod: Save the current scene as a new file. Args: file_path (str): The file path to save the scene to. Returns: (str) The file path that the scene was saved to. .. py:method:: save_prompt() :staticmethod: Pop up the save prompt. .. py:method:: save_scene() :staticmethod: Save the current scene. .. py:method:: save_selection(file_path) :staticmethod: Save the current selection as a new file. .. py:method:: set_ranges(range_list) :staticmethod: Set the timeline ranges. .. py:attribute:: extensions .. py:attribute:: extracts .. py:attribute:: formats :value: ['.katana'] .. py:attribute:: ingests .. py:attribute:: name :value: 'katana' .. py:attribute:: preview_enabled :value: False .. py:attribute:: save_selection_enabled :value: True .. py:attribute:: validations .. py:data:: LOG