artellapipe.managers.names module¶
Module that contains manager for Artella Nomenclature
-
class
artellapipe.managers.names.
NamesManager
¶ Bases:
object
-
check_node_name
(node_name)¶ Returns whether or not given node corresponds to a valid node name taking into consideration node type :param node_name: str :return: bool
-
property
config
¶
-
property
naming_config
¶
-
property
naming_lib
¶
-
parse_node_name
(node_name)¶ Parses given node name :param node_name: str :return: list(str)
-
solve_name
(rule_name, *args, **kwargs)¶ Resolves name with given rule and attributes :param rule_name: str :param args: list :param kwargs: dict
-
solve_node_name_by_type
(node_names=None, **kwargs)¶ Resolves node name taking into account its type In this case, the type of the node will be used to retrieve an an automatic rule The rule name will be retrieved using auto_suffix dict from tpDcc-naming configuration file :param node_names: str or list, name of the node we want to take name of :return: str
-