Notifications
Clear all
[Closed] Use maxscript to get the element hierarchy of objects in track/curve
Apr 11, 2022 2:25 am
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?!!
2 Replies
Apr 11, 2022 2:25 am
if $.modifiers[#morpher] != undefined do
(
local n = finditem (getPropNames $[4]) #morpher
if n > 0 then
"right"
else
"error"
)
Apr 11, 2022 2:25 am
in “Error” case we have a node with a reference object… but in any case, all modifiers are still available for access
$.modifiers[Morpher]