tik_manager4.dcc.houdini.main

Main module for Houdini DCC integration.

Attributes

LOG

Classes

Dcc

Module Contents

class Dcc

Bases: tik_manager4.dcc.main_core.MainCore

static generate_preview(name, folder, camera_code, resolution, range, settings=None)

Create a preview from the current scene Args:

name: (String) Name of the preview folder: (String) Folder to save the preview camera_code: (String) Camera code. In Houdini, this is the node path resolution: (list) Resolution of the preview range: (list) Range of the preview settings: (dict) Global Settings dictionary

generate_thumbnail(file_path, width, height)

Grabs a thumbnail from the current scene Args:

file_path: (String) File path to save the thumbnail width: (Int) Width of the thumbnail height: (Int) Height of the thumbnail

Returns: None

static get_current_camera()

Return the current camera in the scene. Returns: (String) Camera name (String), Node path (String)

static get_current_frame()

Return current frame in timeline. If dcc does not have a timeline, returns None.

static get_dcc_version()

Return the DCC major version.

static get_main_window()

Get the main window.

static get_ranges()

Shortcut to get timeline ranges.

static get_scene_cameras()

Return a dictionary of all the cameras in the scene where key is the camera name and value is the camera path.

static get_scene_file()

Get the current scene file.

static get_scene_fps()

Return the current FPS value set by DCC. None if not supported.

static is_modified()

Check if the scene has unsaved changes.

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 **extra_arguments: Compatibility arguments for other DCCs

Returns: None

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

save_prompt()

Pop up the save prompt.

static save_scene()

Save the current scene.

set_project(file_path)

Sets the project to the given path Args:

file_path: (String) Path to the project folder

Returns: None

static set_ranges(range_list)

Shortcut to set the timeline ranges.

set_scene_fps(fps_value)

Set the FPS value in DCC if supported. Args:

fps_value: (integer) fps value

Returns: None

extensions
extracts
formats
ingests
name = 'Houdini'
preview_enabled = True
validations
LOG