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

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.

Previous topic

pymel.core.other.DagNodeName

Next topic

pymel.core.other.NameParser

Core

Core Modules

Other Modules

This Page