tik_manager4.dcc.maya.validate.unique_names =========================================== .. py:module:: tik_manager4.dcc.maya.validate.unique_names .. autoapi-nested-parse:: Validation for unique names in Maya scene Classes ------- .. autoapisummary:: tik_manager4.dcc.maya.validate.unique_names.UniqueNames Module Contents --------------- .. py:class:: UniqueNames Bases: :py:obj:`tik_manager4.dcc.validate_core.ValidateCore` Validate class for Maya .. py:method:: collect() Collect data .. py:method:: fix() Auto fix the validation. .. py:method:: make_names_unique() Makes sure that everything is named uniquely. Returns list of renamed nodes and list of new names Args: query: (Boolean) If True, returns only non-unique nodes without changing anything Returns: [List of old names, list of new names] .. py:method:: select() Selects the objects with non-unique names .. py:method:: unique_name(name, return_counter=False, suffix=None) :staticmethod: Searches the scene for match and returns a unique name for given name Args: name: (String) Name to query return_counter: (Bool) If true, returns the next available number instead of the object name suffix: (String) If defined and if name ends with this suffix, the increment numbers will be put before the. Returns: (String) uniquename .. py:method:: validate() Validate unique names in Maya scene. .. py:attribute:: nice_name :value: 'Unique Names'