pymel.core.other.DependNodeName

Inheritance diagram of DependNodeName

class DependNodeName
exists(**kwargs)

objExists

extractNum()

Return the trailing numbers of the node name. If no trailing numbers are found an error will be raised.

nextName()

Increment the trailing number of the object by 1

nextUniqueName()

Increment the trailing number of the object until a unique name is found

If there is no trailing number, appends ‘1’ to the name. Will always return a different name than the current name, even if the

current name already does not exist.
node()

for compatibility with AttributeName class

nodeName()

for compatibility with DagNodeName class

prevName()

Decrement the trailing number of the object by 1

stripNum()

Return the name of the node with trailing numbers stripped off. If no trailing numbers are found the name will be returned unchanged.