Okay, So i'm just trying to add a color swatch attribute to a locator. why does this not work? it's basically taken from the pymel docs
import pymel.core as pm null = pm.spaceLocator() null.addAttr( longName='Color', usedAsColor=True attributeType='float3' ) Thanks Kev -- 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/6ebf6dcc-0e03-479b-b018-ce46dd249788%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
