Feb 2013
1 / 6
Feb 2013
May 2013

if i use attrFieldSliderGrp, i have no issues... but i really do not need the slider just the field...

string $size = `attrFieldSliderGrp -vr -label "Size" -width 200 -pre 3 -smn 0.00 -smx 10.00 -attribute ($particleShape[0]+"._Size")`;

1

string $size = attrFieldGrp -label "Size" -attribute ($particleShape[0]+".\_Size");

any idea why attrFieldSliderGrp works, but attrFieldGrp crashes maya?
much appreciated!
Gary 

im still not getting it to work..
any help would be appreciated
Cheers,
Gary 

2 months later

attribute flag only works with a vector type attributes like translate, rotate, scale

keep using the fieldSlider but turn the slider off

cmds.attrFieldSliderGrp( min=-10.0, max=10.0, at='%s.tx' % objName[0] , cw=[3,0])