hannesdelbeke / unimenu

easy consistent menus across apps: unreal, blender, maya, krita, substance painter, Katana, marmoset, 3ds max, cry-engine, FreeCAD, Hero, Nuke, Qt,...
https://github.com/hannesdelbeke/unimenu/wiki/features-overview
Apache License 2.0
83 stars 8 forks source link

Maya - on setup - Object's name '' is not unique #23

Open hannesdelbeke opened 1 year ago

hannesdelbeke commented 1 year ago
import unimenu

def hello_world():
    print("hello world")

config = {}
node = unimenu.load(config)
node.name = 'hello_world'
node.command = hello_world
app_node = node.setup()
# root : UNIMENU: detected maya # 
# Error: RuntimeError: file C:\Program Files\Autodesk\Maya2022\Python37\lib\site-packages\pymel\internal\pmcmds.py line 217: 
  Object's name '' is not unique. #