|
using python I would like to create a custom properties and set its Maximum value to 1 rather than the default of 100, and set its minimum value to -1 rather the default of 0.
ie something like
theHandle = FBHandle('out') mbType = FBPropertyType().kFBPT_double
mbStr = 'double' prop = theHandle.PropertyCreate(nameTxt,mbType,mbStr,True,True) prop.SetAnimated(True) # wish list function... prop.SetMinimum(-1) prop.SetMaximum(1)
is there a way of doing this? ...
If not I have to set the max and min for all the properties by hand......
|
|
|
|
you were close ;)
prop.SetMin(-1) prop.SetMax(1)
Cheers
|
|
|
|
Thanks KxL
you saved my neck (again)
ken :-)
|
|
|