I don’t know how to use maxscript to get the hierarchical relationship of objects in track/curve. What command do I need to get the hierarchical name information to judge whether the current morpher level is correct?!!
Use maxscript to get the element hierarchy of objects in track/curve
rendigua
#1
cgt139746852
#2
if $.modifiers[#morpher] != undefined do
(
local n = finditem (getPropNames $[4]) #morpher
if n > 0 then
"right"
else
"error"
)
denisT
#3
in “Error” case we have a node with a reference object… but in any case, all modifiers are still available for access
$.modifiers[Morpher]