- Mon Jul 02, 2012 3:20 pm
#358157
Hello,
I'm using (learning) python to create a scene to render in Maxwell, but for some reason I cannot use the Cvector function.
The line :
Any idea what I'm doing wrong here?
Thanks in advance!
Regards,
Willy
I'm using (learning) python to create a scene to render in Maxwell, but for some reason I cannot use the Cvector function.
The line :
Code: Select all
gives me the following error :base.origin = Cvector.assign (0.5,0.5,1.0);
Code: Select all
I interpret this error as if Cvector.assign(double,double,double) does not exist, but according to the documentation it should.TypeError: unbound method Cvector_assign() must be called with Cvector instance as first argument (got float instance instead)
Any idea what I'm doing wrong here?
Thanks in advance!
Regards,
Willy