trigger.library.transform

transform related functions

Attributes

log

Functions

duplicate(node[, name, at_time])

Duplicate a node at the current time or at the given time.

free_limits(node[, attr_list])

Free the given transform attributes on the given node.

get_color(node)

Return the normalized color values of given node.

is_group(node)

Check if the given node is a group node or not.

query_limits(node, attribute)

Query transform attribute limits.

set_limits(node, attribute, attr_min, attr_max)

Set a control's transform attribute limits.

validate_group(group_name)

Check if the group exist, if not create it.

Module Contents

duplicate(node, name=None, at_time=None)

Duplicate a node at the current time or at the given time.

Args:

node (str): Name of node to duplicate. name (str): Name of new node. at_time (int): Time to duplicate node at.

Returns:

str: Name of new node.

free_limits(node, attr_list=None)

Free the given transform attributes on the given node.

get_color(node)

Return the normalized color values of given node.

is_group(node)

Check if the given node is a group node or not.

query_limits(node, attribute)

Query transform attribute limits.

Args:

node(str): Name of node to quert limits. attribute(str): Name of transform attribute to query limits.

set_limits(node, attribute, attr_min, attr_max)

Set a control’s transform attribute limits.

Args:

node(str): Name of node to set limits on. attribute(str): Name of transform attribute to set limits on. attr_min (float): Attribute minimum to be set. attr_max (float): Attribute maxiumum to be set.

validate_group(group_name)

Check if the group exist, if not create it. If there are any non-group object with that name, raises exception

log