Message 1 of 3
Use Vector type data with Python?
Not applicable
12-02-2010
01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Pretty new user here...
I was wondering if there is a way to this :
like this,
Thx for any help.
grunt
Pretty new user here...
I was wondering if there is a way to this :
def assignColor(colorR,colorG,colorB):
cmds.setAttr('material.outColor',colorR,colorG,colorB,type="double3")
assignColor(0.2,0.4,0.5)
like this,
def assignColor(vectorRGB):
cmds.setAttr('material.outColor',vectorRGB,type="double3")
assignColor(0.2,0.4,0.5) #this is not working, ... how to declare this kind of data ????
Thx for any help.
grunt