Phlok
02-08-2009, 12:52 PM
Hi,
if I add an attribute of an an array type to an existing shapeNode, e.g.:
mc.addAttr(myShapeNode, longName = ''fluidList", dataType = 'stringArray', multi = True, indexMatters = True, writable = True, readable = True)
How can I add elements to that array attribute, e.g. fluidList[0], fluidList[1]...etc. ?
if I add an attribute of an an array type to an existing shapeNode, e.g.:
mc.addAttr(myShapeNode, longName = ''fluidList", dataType = 'stringArray', multi = True, indexMatters = True, writable = True, readable = True)
How can I add elements to that array attribute, e.g. fluidList[0], fluidList[1]...etc. ?
