THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/02/2010 at 03:11, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11.028
Platform: Windows ;
Language(s) :
---------
Ok, my first post!
I got a problem by exporting all my models into an other 3D application (DeltaGen from RTT).
I use the FBX exporter and I need to have turned all models 90° (P). DeltaGen uses Z-up not Y-up!
This opperation is just one step of a bigger process before exporting.
I want my 40 user not to do everytime the same steps.
So this little script I worked hardly out works only on one selected group.
But if you select more then one group ... nothing happend.
Could someone tell me what to write in my script for rotating all models P=90°?
main(doc,op)
{
/* Reset object rotation */
var rotation = vector(0,1.5708,0);
op->SetRotation(rotation);
}
Many thanks