I would like to check if some node n has transformation, which means
n.transform!=matrix3 1
Just using != doesn´t work, as far I have read it´s only avaible since max 2018 and I need my script to work with older versions of max.
Forum topic · General Scripting
By gtafan · 2024-11-27
I would like to check if some node n has transformation, which means
n.transform!=matrix3 1
Just using != doesn´t work, as far I have read it´s only avaible since max 2018 and I need my script to work with older versions of max.
barigazy · 2024-12-07
Yup. With newer versions, you can compare matrix values
But for older versions you can try compare them as strings
n.transform as string != matrix3 1 as string
Hi
SimonBourgeois · 2024-12-02
maybe something like:
if n.rotation == (quat 0 0 0 1) and n.scale == [1,1,1] then print "n has not been transformed"
else print "n has been transformed"