Hi guys,
I've been working with an user interface that requires me to
edit the content of an enum attribute (basically removing and adding to its
contents) but i seemed to run into a snag so would appreciate any input.
I created the attribute like so :
cmds.addAttr(at = 'enum', keyable=True, en =
'string1:string2:string3:string4:string5:string6', ln='Parent')
and sought to adjust its content like so
cmds.addAttr(e=True, en = 'string1:string2:string4:', ln='Parent')
But i kept getting a
# Error: line 1: RuntimeError: file <maya console> line 1: Attribute not
found/supplied #
Would anyone happen to know what I'm doing wrong ?
Thank you
Gann Boon Bay
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/f98e24dd-ebdd-43a4-9cc4-97f5902ae9c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.