Anyone know how to do this in pymel? if I assign a maya transform via pymel and add an attribute it works fine
import pymel.all as pm sel = pm.ls(sl = True) sel[0].addAttr('myEnum', at = 'enum', en = 'herp:aderp:adoo', k = True, h = False) but if I try to edit the options via the same command sel[0].addAttr('myEnum', e = True, en = 'herp:aderp:adee:adoo') if I have to do it via the cmds way (but with pm) that.. kinda ruins the whole object oriented programing that pymel is good-ish at. On Thursday, August 31, 2023 at 3:31:50 AM UTC-7 Benson Black wrote: > Thank you! This has been very helpful to me. Cheers! > > On Tuesday, 24 February 2015 at 16:15:47 UTC Bay wrote: > >> Aha....I didn't know that. Thank you very much for the help! :) >> >>> >>> -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d37d8431-93c9-4e68-897a-d8497c321475n%40googlegroups.com.