On 28/04/2013 at 11:26, xxxxxxxx wrote:
Hi everyone
I am new in Phyton and I'm trying to change Falloff shape from infinity to linear in a plain effector but get the following error.
AttributeError: parameter set failed
When I change the weight slider it works fine
What am I missing?
Here is the code.
def main() :
plain = c4d.BaseObject(1018643)
doc.InsertObject(plain)
plain[c4d.FALLOFF_STRENGTH] = 0 #<<<< this works fine
plain[c4d.FALLOFF_MODE] = 2
if __name__=='__main__':
main()