Notifications
Clear all

[Closed] Select Object By It's Name

hi all, could anyone tell me how to select a max object by a string name ?
for examble
x = “Node01”
how can i select the x variable in the scene ?

3 Replies

If you wanna select a node called box01, just write : select $box01
you may want to assign a variable with the box01: a = $box01, but if the box01 is already selected in the scene, just write: a = $

If you want to select the variable a in the max viewport write: select a

Regards,

Rodrigo

Hi,

Use :

node = getNodeByName "Node01"

thanks man you really helped me