how to perform ‘as’ convert operation in pymxs ?
In maxscript, for example:
– make a quat
q = quat 0 0 0 1
– convert to matrix
m = q as matrix3
and now, how can i do that in pymxs ?
from pymxs import runtime as rt
q = rt.quat(0,0,0,1) # make a quat
m = ?? # how to conver it to matrix