hi folks,wiriting some AETemplates for my own nodes I found that my standard double-attributes get only a input field by default - no silder at all. Looking at some maya-node's attrs (getAttr -type) you can see that those attributes that also have a slider are of the type doubleLinear. You can add an attribute of that type via MEL (http://localhost:4448/Maya6.5/en\_US/Commands/addAttr.html) but in the API nothing like that exists for the e.g. NumerericAttribute. Any hints?
cheersfelix
ok, found out now that doubleLinear is equivalent to the MFnUnitAttribute::kDistance.
Unfortunately stil no sliders...
Does your attriibute specify or suggest some bounds to the data?
QUOTE(Joojaa @ 09/12/05, 06:56 AM)Does your attriibute specify or suggest some bounds to the data?[snapback]214704[/snapback]
Oh... now I see the set(Soft)Min/Max methods...problem solved...shame on me.
thanxfelix
Error: Backend Fetch Failure
We've been notified about this issue and we'll take a look at it shortly.
If you need to reach us, email support@highend3d.com