how to rotate a box around its local axis with python?

how to rotate a box around its local axis with python?

gazarika
Contributor Contributor
864 Views
3 Replies
Message 1 of 4

how to rotate a box around its local axis with python?

gazarika
Contributor
Contributor

how to rotate a box around its local axis with python?

any help

 

0 Likes
Accepted solutions (1)
865 Views
3 Replies
Replies (3)
Message 2 of 4

Swordslayer
Advisor
Advisor
Accepted solution
obj = pymxs.runtime.selection[0]
obj.transform *= pymxs.runtime.xformMat(pymxs.runtime.rotateZMatrix(45), pymxs.runtime.inverse(obj.transform))
0 Likes
Message 3 of 4

gazarika
Contributor
Contributor

thank you ♥

would you help me find some resources to learn more about python for 3ds max?

0 Likes
Message 4 of 4

Swordslayer
Advisor
Advisor
0 Likes