THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/06/2009 at 16:03, xxxxxxxx wrote:
User Information:
Cinema 4D Version: r11
Platform: Windows ;
Language(s) : C++ ;
---------
All of a sudden i cant set the angle properly:
> `
\> GeData data;
\> obj->GetParameter(DescID(ID_BASEOBJECT_SCALE), data, 0L);
\> obj->SetParameter(DescID(ID_BASEOBJECT_SCALE), GeData(data.GetVector()*_resize), 0L);
\> obj->SetParameter(DescID(ID_BASEOBJECT_ROTATION), GeData(Vector(45,0,-45)), 0L);
\>
`
but the result in cinema is
2578.31 °
0
-2578.31 °
Whats that ?? I guess i just didnt notice that i am doing something wrong because i did a random plugin and thus didnt check the values as it looked ok to me...
is there a solution somewhere? why cant i set the same values via script that i can set inside cinema via the gui??
thanks for your help,
ello
thanks for your patience :)
cheers,
ello