artellapipe.utils.tag module¶
Module that contains utilities functions to work with ArtellaPipe tag nodes
-
class
artellapipe.utils.tag.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_TYPE_ATTRIBUTE_NAME= 'tag_type'¶
-
-
artellapipe.utils.tag.check_if_current_selected_metadata_node_has_valid_info()¶ Returns whether current selected metadat anode has valid info or not :param cls: :return:
-
artellapipe.utils.tag.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
-
artellapipe.utils.tag.get_current_selection()¶ Returns current selected node :return: str
-
artellapipe.utils.tag.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
-
artellapipe.utils.tag.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
-
artellapipe.utils.tag.get_tag_node(project, node)¶ Returns tag node associated to this Artella DCC node :return: ArtellaTagNode
-
artellapipe.utils.tag.select_tag_data_node()¶ Selects the tag data node associated to the current selected Maya object