tik_manager4.dcc.blender.main

Main module for Maya DCC integration.

Attributes

LOG

Classes

Dcc

Maya DCC class.

Module Contents

class Dcc

Bases: tik_manager4.dcc.main_core.MainCore

Maya DCC class.

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 Maya, this is the UUID of the camera transform node. resolution: (list) Resolution of the preview range: (list) Range of the preview settings: (dict) Global Settings dictionary

generate_thumbnail(file_path, width, height)

Generate a thumbnail for the scene.

static get_current_camera()

Return the current camera name and node.

static get_current_frame()

Return the current frame.

static get_dcc_version()

Return the DCC version.

static get_ranges()

Get the frame range.

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()

Return the scene file.

static get_scene_fps()

Return the scene FPS.

static is_modified()

Return True if the scene is modified.

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

Open the given file path.

save_as(file_path)

Save the current file to the given path.

static save_scene()

Save the current scene.

static set_camera(camera_node)

Set the viewport camera to the given camera.

static set_ranges(range_list)

Set the frame range.

static set_scene_fps(fps_value)

Set the scene FPS.

extensions
extracts
formats = ['.blend']
ingests
name = 'Blender'
preview_enabled = True
validations
LOG