tik_manager4.dcc.dcc_install

Convenience functions for installing and integrating DCCs.

Attributes

FROZEN

LOG

install_handler

Classes

Injector

Inject contents to ASCII files.

Installer

A simple command line interface for installing software.

Functions

print_msg(msg)

Prints a message to the console.

Module Contents

class Injector(file_path)

Inject contents to ASCII files.

inject_after(new_content, line, suppress_warnings=False)

Injects the new content after the line.

inject_before(new_content, line, suppress_warnings=False)

Injects the new content before the line.

inject_between(new_content, start_line, end_line, suppress_warnings=False)

Injects the new content between the start and end lines.

read()

Reads the file.

replace_all(new_content)

Replace the whole file with the new content.

replace_single_line(new_content, line, suppress_warnings=False)

Replace the given line with the new content.

set_file_path(value)

Sets the file path.

property match_mode
Return defined match mode.
property search_direction
Return defined search direction.
class Installer(argv)

A simple command line interface for installing software.

blender_setup(prompt=True)

Installs the Blender plugin.

check_running_instances(instance_name)

Checks if the instance is running. If it is, asks the user to close it.

gaffer_setup(prompt=True)

Install Gaffer integration.

houdini_setup(prompt=True)

Installs the Houdini plugin.

install_all()

Installs all the plugins.

katana_setup(prompt=True)

Installs the Katana plugin.

main()

Decides to launch a CLI or proceed with installation based on arguments.

mari_setup(prompt=True)

Install Mari.

max_setup(prompt=True)

Installs the 3ds Max plugin.

maya_setup(prompt=True)

Installs the Maya plugin.

nuke_setup(prompt=True)

Installs the Nuke plugin.

photoshop_setup(prompt=True)

Install the Photoshop plugin.

substance_setup(prompt=True)

Install Substance integration.

print_msg(msg)

Prints a message to the console.

FROZEN
LOG
install_handler