def pymelName(self): import pymel.internal.factories as factories parts = list(self) pymelName = factories.apiClassNameToPymelClassName(self[0]) if pymelName is not None: parts[0] = pymelName return '.'.join( [str(x) for x in parts] )
def pymelName(self): import pymel.internal.factories as factories parts = list(self) pymelName = factories.apiClassNameToPymelClassName(self[0]) if pymelName is not None: parts[0] = pymelName return '.'.join([str(x) for x in parts])