Notifications
Clear all

[Closed] simple question regarding variables and nodes

Hey! I’m pretty new to maxscript and I’ve gotten my way around with my rudimentary programming knowledge. However due to lack of my basic understanding of how maxscript works I can’t turn an array element to a reference to a node.

Basically I have an array with references to bone names – boneName[i]

and I have an array with references to bone rotation – cord_array[i]

… and I want to be able to reference the names from boneName[i] and move the accordingly to the rotation in cord_array[i]. My trouble is I can’t get the boneName[i] to a $bonename.rotation

Do I need to use execute() and if, how?

SOLVED

select (execute (“$’”+boneName[v]+”’”))

here’s the formula stupid MAX.

1 Reply

You can also use Getnodebyname()