tik_manager4.dcc.maya.panels

Class to control and revert all panel properties

Classes

PanelManager

Variable

Module Contents

class PanelManager(camera, resolution, inherit=True)

Bases: object

static get_camera_panels(camera)
inherit_panel_properties(panel=None)

if there are existing panels for the camera, this method will try to inherit the properties of the Active or LAST unless a panel specified

kill()
revert_all()

Reverts back all settings into its original state

set_camera_variable(variable, value)
set_editor_variable(variable, value)
set_preset(preset)

Sets values for pre-defined presets

store_states()

Grabs the current state of the properties and store them as original

static tear_off_panel(camera, resolution=(1920, 1080))

Tears of the panel with given resolution

property all_objects
property display_appearance
property display_field_chart
property display_film_gate
property display_film_origin
property display_film_pivot
property display_gate_mask
property display_resolution
property display_safe_action
property display_safe_title
property display_textures
property grid
property hud
property image_plane
property nurbs_curves
property nurbs_surfaces
property overscan
property panel
property polymeshes
property use_default_material
class Variable(original=None, current=None)

Bases: object

property current
property original