artellapipe.managers.tags module

Module that contains manager that handles Artella Project DCC tags

class artellapipe.managers.tags.TagsManager

Bases: object

class TagDefinitions

Bases: object

NODE_ATTRIBUTE_NAME = 'node'
SCENE_SELECTION_NAME = 'scene'
TAG_DATA_ATTRIBUTE_NAME = 'tag_data'
TAG_DATA_NODE_NAME = 'tag_data'
TAG_DATA_SCENE_NAME = 'tag_data_scene'
TAG_INFO_ATTRIBUTE_NAME = 'tag_info'
TAG_TYPE_ATTRIBUTE_NAME = 'tag_type'
check_if_current_selected_metadata_node_has_valid_info()

Returns whether current selected metadat anode has valid info or not :param cls: :return:

property config
current_selection_has_metadata_node()

Returns True if the current selection has a valid tag data node associated to it or False otherwise :return: bool

get_current_selection()

Returns current selected node :return: str

get_tag_data_node_from_current_selection(new_selection=None)

Returns the tag data node associated to the current selected Maya object :return: variant, None || str

get_tag_data_nodes(project, as_tag_nodes=False)

Returns all scene tag data nodes in the current scene and for the given project :param project: ArtellaProject :param as_tag_nodes: bool :return: list

get_tag_info_nodes(as_tag_nodes=False)

Returns all nodes containing tag info data :return: list

get_tag_node(project, node)

Returns tag node associated to this Artella DCC node :return: ArtellaTagNode

get_tag_types()

Returns list of tags types available in current project :return: list(str)

select_tag_data_node()

Selects the tag data node associated to the current selected Maya object