Notifications
Clear all

[Closed] Assign Node variable in controller?

i write scripted controler
in the script window i see a button “assign to node” in variable area, how can i make this with script. Idea is to use this function “Assign to node” becouse it keeps the connection even if i rename the object

for example let variable MyVar to be assigned to node $Box1
how to make this with max script?

1 Reply
s = sphere() 
b = box()
sc = s.position.controller[3].controller = float_script()
sc.AddNode "b" b
 
showinterfaces sc -- this command will show you all the ways to interact with your script controller